yogthos/migratus

Allow for future migrations that are not run until the timestamp on the migration has passed

Aperta

#243 aperta il 20 giu 2023

 (10 commenti) (1 reazione) (0 assegnatari)Clojure (99 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (686 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Add an optional input to migratus/create that sets the date X days in the future, and then update migratus/migrate to skip those.

The use case is for when the table structure changes so that there is an old table or column that needs to be cleaned up. This would let me create that clean up for 30 days when I know all the other code changes have taken place.

Guida contributor