Added alt_titles to series table.
This commit is contained in:
parent
eef0be09b3
commit
3508e47600
|
@ -6,6 +6,10 @@ exports.up = async (knex) => {
|
|||
await knex.schema.alterTable('movies', (table) => {
|
||||
table.specificType('alt_titles', 'text ARRAY');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('series', (table) => {
|
||||
table.specificType('alt_titles', 'text ARRAY');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async (knex) => {
|
||||
|
@ -16,4 +20,8 @@ exports.down = async (knex) => {
|
|||
await knex.schema.alterTable('movies', (table) => {
|
||||
table.dropColumn('alt_titles');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('series', (table) => {
|
||||
table.dropColumn('alt_titles');
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue