init commit,
This commit is contained in:
28
03_source/mobile_old.del/docker.original/db_push.sh
Executable file
28
03_source/mobile_old.del/docker.original/db_push.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
export DB_URL="postgres://postgres:your-super-secret-and-long-postgres-password@127.0.0.1:5432/postgres"
|
||||
# export SUPABASE_ACCESS_TOKEN="your-super-secret-jwt-token-with-at-least-32-characters-long"
|
||||
|
||||
|
||||
echo "y" | npx supabase db reset --db-url $DB_URL
|
||||
# npx supabase db push --dry-run --db-url $DB_URL
|
||||
|
||||
# npx supabase db diff --db-url $DB_URL
|
||||
# npx supabase db dump --db-url $DB_URL \
|
||||
# -f ./dump.sql
|
||||
# npx supabase db lint --db-url $DB_URL
|
||||
# npx supabase db pull --db-url $DB_URL
|
||||
# npx supabase db push --db-url $DB_URL
|
||||
|
||||
|
||||
|
||||
# npx supabase migration new create_employees_table
|
||||
# npx supabase db start --db-url $DB_URL
|
||||
|
||||
# npx supabase db push --db-url $DB_URL
|
||||
# npx supabase db pull --db-url $DB_URL
|
||||
# npx supabase db pull --schema auth,storage --db-url $DB_URL
|
||||
# npx supabase db reset --db-url $DB_URL
|
||||
# npx supabase seed
|
Reference in New Issue
Block a user