This commit is contained in:
x 2025-03-12 23:42:42 +01:00
parent c0308f466f
commit 96bb8a69aa
2 changed files with 29 additions and 1 deletions

View File

@ -1,4 +1,14 @@
blah
# df0cker
run f0ck inside of docker
--
git clone https://git.lat/schrumpel/df0cker
cd df0cker
git clone https://git.lat/f0ck/f0ckv2
docker buildx build -f f0ckv2.dockerfile . -t f0ckv2-<int>

18
migratetags.bash Normal file
View 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