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