| 12345678910 |
- import * as Knex from "knex";
- export async function up(knex: Knex): Promise<any> {
- const hasDescription = await knex.schema.hasColumn("links", "description");
- if (!hasDescription) {
- await knex.schema.alterTable("links", table => {
- table.string("description");
- });
- }
- }
|