migrate
migrate copied to clipboard
Exceedingly simple Postgres migration tool
This will allow users to pass in any FS implementation. For example `embed.FS`, that allows usage of embedded migration files. Given that fs.FS is read only I had to modify...
Add a date column to the `migrations` table to record the time at which each migration was applied. @jeffreylo: do you think this would be a worthwhile feature?
While I still agree they shouldn't generally be run in production, they're very handy when developing locally.
`migrate` should explicitly handle receiving a `SIGINT` (ctrl-c) command. Proposed behavior: finish running the current migration, then abort before running any more. If ctrl-c is received _twice_, abort immediately with...