Allow dumping data instead of just schema #755
stavros-k
started this conversation in
Feature Ideas
Replies: 1 comment
-
|
We have exactly this case: there are templates table and we add some predefined templates via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently dbmate adds --schema-only on DumpSchema. Which is expected.
But there are cases where inserts are "part" of the schema/migrations.
ie default settings of the app, a table with predefined set of rows that is used as a "rich enum" (FK from other tables) etc.
These would be good to be included in the schema dump.
I personally dump the schema on a clean database, right after migrations, so git diffs show what actually changed.
So my request is to be able to dump without the
--schema-onlyflagBeta Was this translation helpful? Give feedback.
All reactions