Ask HN: Data Migrations with Prisma

1 points by dkpk ↗ HN
Let’s consider the following example:

On an existing model “User”, I’ve added a non-nullable column with a default value.

This table has data in production and now I want to basically run a data migration to fill up existing records.

I can get away by writing a one off script and executing it on production database locally, but I am looking for a solution that I can integrate with CI pipeline.

0 comments

[ 4.0 ms ] story [ 6.9 ms ] thread

No comments yet.