mirror of
https://github.com/appen-isen/site-interpromos.git
synced 2026-01-19 00:47:29 +01:00
10 lines
198 B
Bash
Executable File
10 lines
198 B
Bash
Executable File
#!/bin/bash
|
|
|
|
db_name="interpromos"
|
|
|
|
# Create database
|
|
psql -U postgres -d $db_name -a -f model.sql
|
|
psql -U postgres -d $db_name -a -f data.sql
|
|
|
|
# Connect to the database
|
|
psql -U postgres -d $db_name |