diff --git a/src/database/migrations/Migration20251203114705.ts b/src/database/migrations/Migration20251203114705.ts index 88676e7..2862657 100644 --- a/src/database/migrations/Migration20251203114705.ts +++ b/src/database/migrations/Migration20251203114705.ts @@ -4,7 +4,7 @@ export class Migration20251203114705 extends Migration { override async up(): Promise { const knex = this.getKnex(); - await knex.schema.alterTable("packages", (table) => { + await knex.schema.alterTable("package", (table) => { table.decimal("quad_discount", 10, 2).notNullable().defaultTo(0); table.decimal("triple_discount", 10, 2).notNullable().defaultTo(0); table.decimal("double_discount", 10, 2).notNullable().defaultTo(0); @@ -15,7 +15,7 @@ export class Migration20251203114705 extends Migration { override async down(): Promise { const knex = this.getKnex(); - await knex.schema.alterTable("packages", (table) => { + await knex.schema.alterTable("package", (table) => { table.dropColumn("quad_discount"); table.dropColumn("triple_discount"); table.dropColumn("double_discount");