from orator.migrations import Migration class CreateAddressesTable(Migration): def up(self): """ Run the migrations. """ with self.schema.create('addresses') as table: table.increments('id') table.string('email') table.string('domain') def down(self): """ Revert the migrations. """ self.schema.drop('addresses')