1 import { Knex } from "knex";
4 export async function up(knex: Knex): Promise<void> {
5 return knex.schema.alterTable('shop_equipment', function(table) {
6 table.string('icon').defaultTo('');
7 }).alterTable('inventory', function(table) {
8 table.string('icon').defaultTo('');
13 export async function down(knex: Knex): Promise<void> {
14 return knex.schema.alterTable('shop_equipment', function(table) {
15 table.dropColumn('icon');
16 }).alterTable('inventory', function(table) {
17 table.dropColumn('icon');