diff --git a/README.md b/README.md index 2b4188f..d7b7262 100644 --- a/README.md +++ b/README.md @@ -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 ` 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 ` 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? diff --git a/supabase/schemas/0001_study_spaces.sql b/supabase/schemas/0001_study_spaces.sql index 57ec924..64291e3 100644 --- a/supabase/schemas/0001_study_spaces.sql +++ b/supabase/schemas/0001_study_spaces.sql @@ -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() );