yogthos/migratus

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

Open

#243 opened on Jun 20, 2023

 (10 comments) (1 reaction) (0 assignees)Clojure (99 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (686 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide