# Unsupported database features (Prisma Migrate) (Prisma ORM v6) (/docs/orm/v6/prisma-migrate/workflows/unsupported-database-features) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. How to include unsupported database features for projects that use Prisma Migrate. Location: ORM > v6 > Prisma Migrate > Workflows > Unsupported database features (Prisma Migrate) Prisma Migrate uses the Prisma schema to determine what features to create in the database. However, some database features [cannot be represented in the Prisma schema](https://www.prisma.io/docs/orm/v6/prisma-schema/data-model/unsupported-database-features) , including but not limited to: * Stored procedures * Triggers * Views * Partial indexes To add an unsupported feature to your database, you must [customize a migration](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/customizing-migrations) to include that feature before you apply it. > [!NOTE] > The Prisma schema is able to represent [unsupported field types](https://www.prisma.io/docs/orm/v6/prisma-schema/data-model/unsupported-database-features#unsupported-field-types) and [native database functions](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/native-database-functions). > [!WARNING] > This guide **does not apply for MongoDB**.
> Instead of `migrate dev`, [`db push`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/prototyping-your-schema) is used for [MongoDB](https://www.prisma.io/docs/orm/v6/overview/databases/mongodb). ## Customize a migration to include an unsupported feature [#customize-a-migration-to-include-an-unsupported-feature] To customize a migration to include an unsupported feature: 1. Use the `--create-only` flag to generate a new migration without applying it: #### bun ```bash bunx prisma migrate dev --create-only ``` #### pnpm ```bash pnpm prisma migrate dev --create-only ``` #### yarn ```bash yarn prisma migrate dev --create-only ``` #### npm ```bash npx prisma migrate dev --create-only ``` 2. Open the generated `migration.sql` file and add the unsupported feature - for example, a partial index: ```sql CREATE UNIQUE INDEX tests_success_constraint ON posts (subject, target) WHERE success; ``` 3. Apply the migration: #### bun ```bash bunx prisma migrate dev ``` #### pnpm ```bash pnpm prisma migrate dev ``` #### yarn ```bash yarn prisma migrate dev ``` #### npm ```bash npx prisma migrate dev ``` 4. Commit the modified migration to source control. ## Related pages - [`Baselining a database`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/baselining): How to initialize a migration history for an existing database that contains important data. - [`Customizing migrations`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/customizing-migrations): How to edit a migration file before applying it to avoid data loss in production. - [`Data migrations`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/data-migration): How to migrate data using Prisma ORM with the expand and contract pattern. - [`Development and production`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/development-and-production): Development and production - [`Generating down migrations`](https://www.prisma.io/docs/orm/v6/prisma-migrate/workflows/generating-down-migrations): How to generate down migrations