From ebebe25c1214e32a181038dbaa685e5ce49ed63f Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Tue, 6 Feb 2024 09:19:39 -0500 Subject: [PATCH] add new user --- db/migrations/20240206141649_ck13.sql | 8 ++++++++ db/schema.sql | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 db/migrations/20240206141649_ck13.sql diff --git a/db/migrations/20240206141649_ck13.sql b/db/migrations/20240206141649_ck13.sql new file mode 100644 index 0000000..628cc95 --- /dev/null +++ b/db/migrations/20240206141649_ck13.sql @@ -0,0 +1,8 @@ +-- migrate:up + +insert into bgg_user (username,neighbourhood) VALUES ('ck13','Hintonburg'); + +-- migrate:down + +delete from bgg_user where username = 'ck13'; + diff --git a/db/schema.sql b/db/schema.sql index 605b8c3..fb2d8a8 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -18,4 +18,5 @@ INSERT INTO "schema_migrations" (version) VALUES ('20240130205124'), ('20240201201248'), ('20240204153045'), - ('20240205142447'); + ('20240205142447'), + ('20240206141649');