19 lines
314 B
Bash
19 lines
314 B
Bash
#!/bin/bash
|
|
# f0ck databases
|
|
#srsly
|
|
|
|
#postgres
|
|
export PGPASSWORD=
|
|
P_DB_NAME="f0ck"
|
|
P_DB_USER="f0ck"
|
|
P_DB_HOST="localhost"
|
|
|
|
TABLE_TAGS_ASSIGN="tags_assign"
|
|
TABLE_TAGS="tags"
|
|
SCHEMA="public"
|
|
|
|
psql -U "$P_DB_USER" -d "$P_DB_NAME" -h "$P_DB_HOST" -f path
|
|
|
|
|
|
psql -U "$P_DB_USER" -d "$P_DB_NAME" -h "$P_DB_HOST" -f path
|