Closed b-ryan closed 8 months ago
Maybe the robust way would be to have a separate implementation of Store
that does nothing inside disconnect
.
Yeah, I think that would be cleaner. The store implementation could be selected based on the config, and then everything else should work same as before.
Discussion:
https://github.com/yogthos/migratus/issues/253#issuecomment-1819840435
https://github.com/yogthos/migratus/issues/253#issuecomment-1819854502
I wonder if the implementation will be easier by allowing the db map to look like:
If so it looks to me like the feature could be achieved by modifying
migratus.core/run
to:Dunno if this is how you'd want this implemented or whether it covers every case though.