20 lines
451 B
JavaScript
20 lines
451 B
JavaScript
|
exports.up = async (knex) => {
|
||
|
await knex.schema.alterTable('actors', (table) => {
|
||
|
table.text('orientation');
|
||
|
});
|
||
|
|
||
|
await knex.schema.alterTable('actors_profiles', (table) => {
|
||
|
table.text('orientation');
|
||
|
});
|
||
|
};
|
||
|
|
||
|
exports.down = async (knex) => {
|
||
|
await knex.schema.alterTable('actors', (table) => {
|
||
|
table.dropColumn('orientation');
|
||
|
});
|
||
|
|
||
|
await knex.schema.alterTable('actors_profiles', (table) => {
|
||
|
table.dropColumn('orientation');
|
||
|
});
|
||
|
};
|