|
|
|
@ -2,9 +2,6 @@ import { MetaTable } from '../../utils/globals';
|
|
|
|
|
import type { Knex } from 'knex'; |
|
|
|
|
|
|
|
|
|
const up = async (knex: Knex) => { |
|
|
|
|
await knex.schema.alterTable(MetaTable.PROJECT, (table) => { |
|
|
|
|
table.string('description', 255); |
|
|
|
|
}); |
|
|
|
|
await knex.schema.alterTable(MetaTable.BASES, (table) => { |
|
|
|
|
table.string('description', 255); |
|
|
|
|
}); |
|
|
|
@ -20,9 +17,6 @@ const up = async (knex: Knex) => {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const down = async (knex) => { |
|
|
|
|
await knex.schema.alterTable(MetaTable.PROJECT, (table) => { |
|
|
|
|
table.dropColumn('description'); |
|
|
|
|
}); |
|
|
|
|
await knex.schema.alterTable(MetaTable.BASES, (table) => { |
|
|
|
|
table.dropColumn('description'); |
|
|
|
|
}); |
|
|
|
|