-
|
I'm trying to migrate an existing project to use step-by-step migrations, and my first of these would be migrating from schema versions 22 to 23. When I run With this, when I try to call I've looked through the documentation, but I'm not sure what I'm missing. Could you please enlighten me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
My issue was that I tried to run |
Beta Was this translation helpful? Give feedback.
My issue was that I tried to run
dart run drift_dev schema steps ...against the dart versions of the frozen schemas, not the json ones. Do I have to still write the migration code (theawait m.addColumn(schema.features, schema.features.internal);above), or is that handled now that the schema_versions.dart file generated successfully? The documentation makes it look like thisaddColumnwould be generated, but I don't see it in my schema_versions.dart.