From d99b391c6328eb50c8359a0cf69739e66d4e940e Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sat, 6 Aug 2022 12:03:33 +0000 Subject: [PATCH] initial_data is added --- migrations/202208011200_initial_data/down.sql | 1 + migrations/202208011200_initial_data/up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 migrations/202208011200_initial_data/down.sql create mode 100644 migrations/202208011200_initial_data/up.sql diff --git a/migrations/202208011200_initial_data/down.sql b/migrations/202208011200_initial_data/down.sql new file mode 100644 index 0000000..5cf3595 --- /dev/null +++ b/migrations/202208011200_initial_data/down.sql @@ -0,0 +1 @@ +DELETE FROM resources WHERE id = '113c424a-45f6-4261-9d97-6438d2b694f8'; diff --git a/migrations/202208011200_initial_data/up.sql b/migrations/202208011200_initial_data/up.sql new file mode 100644 index 0000000..f646446 --- /dev/null +++ b/migrations/202208011200_initial_data/up.sql @@ -0,0 +1 @@ +INSERT INTO resources (id, parent_id, name, key) VALUES ('113c424a-45f6-4261-9d97-6438d2b694f8', null, 'member', 'member');