From 7afa3573fa87da5b9126299edfba00e10260ae26 Mon Sep 17 00:00:00 2001 From: Jan Schutte <4732389+SchutteJan@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:40:42 +0200 Subject: [PATCH] feat: add db migration for gem_ams_id column --- backend/migrations/2024-07-24-202215_add-gem-ams-id/down.sql | 1 + backend/migrations/2024-07-24-202215_add-gem-ams-id/up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 backend/migrations/2024-07-24-202215_add-gem-ams-id/down.sql create mode 100644 backend/migrations/2024-07-24-202215_add-gem-ams-id/up.sql diff --git a/backend/migrations/2024-07-24-202215_add-gem-ams-id/down.sql b/backend/migrations/2024-07-24-202215_add-gem-ams-id/down.sql new file mode 100644 index 0000000..4d76350 --- /dev/null +++ b/backend/migrations/2024-07-24-202215_add-gem-ams-id/down.sql @@ -0,0 +1 @@ +ALTER TABLE locations DROP COLUMN gem_ams_id; diff --git a/backend/migrations/2024-07-24-202215_add-gem-ams-id/up.sql b/backend/migrations/2024-07-24-202215_add-gem-ams-id/up.sql new file mode 100644 index 0000000..49b3494 --- /dev/null +++ b/backend/migrations/2024-07-24-202215_add-gem-ams-id/up.sql @@ -0,0 +1 @@ +ALTER TABLE locations ADD COLUMN gem_ams_id INTEGER;