import type { Knex } from "knex";


export async function up(knex: Knex): Promise<void> {
    await knex.schema.alterTable("tool_pages", (table) => {
        table.string("template", 255).nullable();
    });
    await knex.schema.alterTable("custom_pages", (table) => {
        table.string("template", 255).nullable();
    });
}


export async function down(knex: Knex): Promise<void> {
    await knex.schema.alterTable("tool_pages", (table) => {
        table.dropColumn("template");
    });
    await knex.schema.alterTable("custom_pages", (table) => {
        table.dropColumn("template");
    });
}

