from orator.migrations import Migration class CreateTranslationsTable(Migration): def up(self): """ Run the migrations. """ with self.schema.create('translations') as table: table.string('name').primary() def down(self): """ Revert the migrations. """ self.schema.drop('translations')