16 lines
322 B
JavaScript
16 lines
322 B
JavaScript
|
exports.up = async (knex) => {
|
||
|
await knex.schema.alterTable('scenes_revisions', (table) => {
|
||
|
table.integer('scene_id')
|
||
|
.nullable()
|
||
|
.alter();
|
||
|
});
|
||
|
};
|
||
|
|
||
|
exports.down = async (knex) => {
|
||
|
await knex.schema.alterTable('scenes_revisions', (table) => {
|
||
|
table.integer('scene_id')
|
||
|
.notNullable()
|
||
|
.alter();
|
||
|
});
|
||
|
};
|