From 9ca1b0c8217e62216fe41c9307dea6a85d51ffa2 Mon Sep 17 00:00:00 2001 From: snow flurry Date: Sat, 10 Aug 2024 01:33:17 -0700 Subject: [PATCH] Set up migrations properly --- nzrd/migrations/2024080901_init/down.sql | 2 ++ .../{2024080901_initial.sql => 2024080901_init/up.sql} | 0 2 files changed, 2 insertions(+) create mode 100644 nzrd/migrations/2024080901_init/down.sql rename nzrd/migrations/{2024080901_initial.sql => 2024080901_init/up.sql} (100%) diff --git a/nzrd/migrations/2024080901_init/down.sql b/nzrd/migrations/2024080901_init/down.sql new file mode 100644 index 0000000..863e8d2 --- /dev/null +++ b/nzrd/migrations/2024080901_init/down.sql @@ -0,0 +1,2 @@ +DROP TABLE instances; +DROP TABLE subnets; \ No newline at end of file diff --git a/nzrd/migrations/2024080901_initial.sql b/nzrd/migrations/2024080901_init/up.sql similarity index 100% rename from nzrd/migrations/2024080901_initial.sql rename to nzrd/migrations/2024080901_init/up.sql