Added compulsory tags in db table

This commit is contained in:
Barf-Vader
2025-06-09 14:53:56 +01:00
parent 769a20607b
commit f6f09c8492
2 changed files with 5 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ CREATE TABLE study_spaces (
location text,
building_location text,
tags text[] NOT NULL DEFAULT array[]::text[],
timing text NOT NULL,
volume text NOT NULL,
wifi text NOT NULL,
power text NOT NULL,
created_at timestamp with time zone DEFAULT now(),
updated_at timestamp with time zone DEFAULT now()
);