2019-02-02 08:17:07 -05:00
2019-02-01 09:27:37 -05:00
2019-02-02 08:17:07 -05:00
2019-02-01 08:28:27 -05:00
2019-02-01 07:59:54 -05:00
2019-02-02 08:10:11 -05:00
2019-02-02 08:10:11 -05:00
2019-02-02 08:10:11 -05:00
2019-02-01 08:28:27 -05:00
2019-02-02 08:10:11 -05:00

Records-Migrate: a migration system for Records

A migration system for the Records Python library.

Intented Usage

Assuming DATABASE_URL is set:

$ records-migrate check
all migrations appear to be applied!

$ records-migrate new
Created file migrations/0003.sql. Feel free to add a suffix to the file name.

$ records-migrate apply
Applied migration 3/5...,,

$ records-migrate schema
Dumps out SQL script for generating the schema.

Considerations

  • Don't base migration order on file creation time, as Heroku strips the data on deploy.
S
Languages
Python 100%