0
This commit is contained in:
18
migratetags.bash
Normal file
18
migratetags.bash
Normal file
@ -0,0 +1,18 @@
|
||||
#!/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
|
Reference in New Issue
Block a user