diff --git a/backend/migrations/20220404144303_timestamps.ts b/backend/migrations/20220404144303_timestamps.ts index b8126616133389484bc6bc8bb5cffc3e274df6e1..52a5c1bcf68dff5ff540faecce321975101525f9 100644 --- a/backend/migrations/20220404144303_timestamps.ts +++ b/backend/migrations/20220404144303_timestamps.ts @@ -1,7 +1,7 @@ import { Knex } from "knex"; export async function up(knex: Knex): Promise<void> { - knex.schema + return knex.schema .alterTable("words", (table) => table.timestamps()) .alterTable("games", (table) => table.timestamps()) .alterTable("clues", (table) => table.timestamps()) @@ -9,7 +9,7 @@ export async function up(knex: Knex): Promise<void> { } export async function down(knex: Knex): Promise<void> { - knex.schema + return knex.schema .alterTable("words", (table) => table.dropTimestamps()) .alterTable("games", (table) => table.dropTimestamps()) .alterTable("clues", (table) => table.dropTimestamps())