Is there a way to generate prisma migrations without applying them immediately?

Sometimes I need to apply Prisma migrations that do not only require a DDL change, but also some additional SQL statements I'd need to add in to migrate data.

For instance when splitting a field into multiple columns, for setting an initial value to a column after it's been introduced (without a default value), etc.
Is there a recommended way to do it? Otherwise whenever I edit a migration after generating it with wasp db migrate.dev it resets my local DB which kinds of defeats the purpose of testing additional migration statements
Was this page helpful?