mirror of
https://github.com/DeNNiiInc/Connect-5.git
synced 2026-05-03 15:53:57 +00:00
Docs: Cleanup unused files and update README/DEPLOYMENT guides with auto-start instructions
This commit is contained in:
14
apply-prod-schema.sh
Normal file
14
apply-prod-schema.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Apply schema update to production database
|
||||
# Use this if you are getting "function increment_wins does not exist" errors
|
||||
|
||||
# Setup
|
||||
export PGHOST=202.171.184.108
|
||||
export PGUSER=postgres
|
||||
export PGPASSWORD=your_password_here
|
||||
export PGDATABASE=connect5
|
||||
|
||||
echo "Applying schema..."
|
||||
psql -f postgres-schema.sql
|
||||
|
||||
echo "Done!"
|
||||
Reference in New Issue
Block a user