1 import { Knex } from "knex";
4 export async function up(knex: Knex): Promise<void> {
5 return knex.schema.alterTable('shop_items', function(table) {
7 table.primary(['id'], 'shop_equipment_pkey');
8 }).renameTable('shop_items', 'shop_equipment');
12 export async function down(knex: Knex): Promise<void> {
13 return knex.schema.renameTable('shop_equipment', 'shop_items');