Add reports table

This commit is contained in:
MartinBraquet
2025-09-10 21:40:23 +02:00
parent 90825925ff
commit 95fab7c395
3 changed files with 16 additions and 6 deletions

View File

@@ -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;

View File

@@ -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
View 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