Skip to content

Add an option to dbmate migrator to control if schema is auto dumped#37

Open
braindev wants to merge 1 commit intopeterldowns:mainfrom
braindev:braindev/add-autodump-schema-option
Open

Add an option to dbmate migrator to control if schema is auto dumped#37
braindev wants to merge 1 commit intopeterldowns:mainfrom
braindev:braindev/add-autodump-schema-option

Conversation

@braindev
Copy link

The default value for automatically dump schema is true but in a testing context this probably isn't desired. Small changes may show up in the schema which don't matter such as the architecture of the psql binary or a patch version difference.

The default value for automatically dump schema is true but in a testing
context this probably isn't desired.  Small changes may show up in the
schema which don't matter such as the architecture of the psql binary or
a patch version difference.
@braindev
Copy link
Author

I'm not sure why auto-dumping the schema makes sense during testing. If that's the case then perhaps the change should just be to set auto-dump schema to false.

@pcriv
Copy link

pcriv commented Feb 11, 2026

It would be great if this could be merged

@pcriv
Copy link

pcriv commented Feb 20, 2026

@peterldowns Any chance this could get merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants