Added compulsory tags in db table
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
- `npx supabase stop` will stop the local dev database (data is persisted unless you do a reset).
|
||||
- `npx supabase db push --local` will apply migrations to your local dev database. Useful if someone else has made new SQL migrations.
|
||||
- `npx supabase db reset` will completely reset the local dev database.
|
||||
- `npx supabase diff db -f <migration-name>` will generate a new migration file based on the current state of the database. This isn't 100% foolproof, so don't use it blindly.
|
||||
- `npx supabase db diff -f <migration-name>` will generate a new migration file based on the current state of the database. This isn't 100% foolproof, so don't use it blindly.
|
||||
|
||||
### What's where?
|
||||
|
||||
|
||||
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user