mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-14 10:05:25 -04:00
Add reports table
This commit is contained in:
@@ -19,4 +19,5 @@ BEGIN;
|
||||
\i backend/supabase/user_events.sql
|
||||
\i backend/supabase/user_notifications.sql
|
||||
\i backend/supabase/functions_others.sql
|
||||
\i backend/supabase/reports.sql
|
||||
COMMIT;
|
||||
@@ -1,6 +0,0 @@
|
||||
psql \
|
||||
-h db.ltzepxnhhnrnvovqblfr.supabase.co \
|
||||
-p 5432 \
|
||||
-d postgres \
|
||||
-U postgres \
|
||||
-f migration.sql
|
||||
15
scripts/migrate.sh
Normal file
15
scripts/migrate.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
cd "$(dirname "$0")"/..
|
||||
|
||||
source .env
|
||||
|
||||
export PGPASSWORD=$SUPABASE_DB_PASSWORD
|
||||
|
||||
psql \
|
||||
-h db.ltzepxnhhnrnvovqblfr.supabase.co \
|
||||
-p 5432 \
|
||||
-d postgres \
|
||||
-U postgres \
|
||||
-f backend/supabase/migration.sql
|
||||
Reference in New Issue
Block a user