Migrations
sdispater opened this issue · comments
Sébastien Eustace commented
Eloquent should support database migrations:
from eloquent import Migration
class UserMigration(Migration):
def up(self):
"""
Run the migrations
"""
with self.schema.table('users') as table:
# ...
def down(self):
"""
Revert the migrations
"""
with self.schema.table('users') as table:
# ...