From 8e79b1f94d732a63a115e68e0161af542346a3d5 Mon Sep 17 00:00:00 2001 From: Paolo Brasolin <paolo.brasolin@eurac.edu> Date: Mon, 4 Apr 2022 17:39:16 +0200 Subject: [PATCH] chore: #be drop prototype tables --- backend/migrations/20220404140016_drop_prototype.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 backend/migrations/20220404140016_drop_prototype.ts diff --git a/backend/migrations/20220404140016_drop_prototype.ts b/backend/migrations/20220404140016_drop_prototype.ts new file mode 100644 index 0000000..356464d --- /dev/null +++ b/backend/migrations/20220404140016_drop_prototype.ts @@ -0,0 +1,9 @@ +import { Knex } from "knex"; + +export async function up(knex: Knex): Promise<void> { + return knex.schema.dropTable("game_results").dropTable("images"); +} + +export async function down(knex: Knex): Promise<void> { + // NOTE: we're not interested in reversing this. +} -- GitLab