import type { Knex } from "knex";

export async function up(knex: Knex): Promise<void> {
    await knex.schema.alterTable("tool_pages", (table) => {
        table.dropUnique(["page_file_name"]);
    });
}

export async function down(knex: Knex): Promise<void> {
    await knex.schema.alterTable("tool_pages", (table) => {
        table.unique(["page_file_name"]);
    });
}
