Adding migrations for seeding rooms and restrictions

This commit is contained in:
vinchent 2024-07-11 23:47:14 +02:00
parent e2e03307b7
commit 32250d92c4
4 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
delete from rooms

View File

@ -0,0 +1,3 @@
INSERT INTO public.rooms(room_name, created_at, updated_at) VALUES
("General's Quarters","2024-07-08 00:00:00","2024-07-08 00:00:00"),
("Major's Suite","2024-07-08 00:00:00","2024-07-08 00:00:00");

View File

@ -0,0 +1 @@
delete from restrictions;

View File

@ -0,0 +1,4 @@
INSERT INTO public.restrictions(restriction_name, created_at, updated_at) VALUES
("Reservation","2024-07-08 00:00:00","2024-07-08 00:00:00"),
("Owner block","2024-07-08 00:00:00","2024-07-08 00:00:00");