Added migration to repo.
This commit is contained in:
parent
d85e917935
commit
7062f04e78
|
|
@ -0,0 +1,11 @@
|
||||||
|
exports.up = async function(knex) {
|
||||||
|
await knex.schema.alterTable('releases', (table) => {
|
||||||
|
table.specificType('alt_descriptions', 'text ARRAY');
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = async function(knex) {
|
||||||
|
await knex.schema.alterTable('releases', (table) => {
|
||||||
|
table.dropColumn('alt_descriptions');
|
||||||
|
});
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue