feat: google maps
This commit is contained in:
3
supabase/migrations/20250609145614_gmaps_location.sql
Normal file
3
supabase/migrations/20250609145614_gmaps_location.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- rename old colum nto building_location_old and create a new column instead of altering
|
||||
alter table "public"."study_spaces" rename column "building_location" to "building_location_old";
|
||||
alter table "public"."study_spaces" add column "building_location" jsonb;
|
||||
@@ -11,7 +11,9 @@ CREATE TABLE study_spaces (
|
||||
description text,
|
||||
-- Location within building, e.g., "Room 101"
|
||||
location text,
|
||||
building_location text,
|
||||
-- Not bothered to write a proper data migration
|
||||
building_location_old text,
|
||||
building_location jsonb,
|
||||
tags text[] NOT NULL DEFAULT array[]::text[],
|
||||
volume text NOT NULL,
|
||||
wifi text NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user