5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-15 22:32:22 +00:00

fix: usar la url de la base de datos en psql
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful

This commit is contained in:
f 2023-12-19 14:36:47 -03:00
parent 1a3c6a77ce
commit c5cece436d
No known key found for this signature in database

View file

@ -69,7 +69,7 @@ rake: ## Corre rake dentro del entorno de desarrollo (pasar argumentos con args=
bundle: ## Corre bundle dentro del entorno de desarrollo (pasar argumentos con args=).
$(hain) 'bundle $(args)'
psql := psql -h $(PG_HOST) -U $(PG_USER) -p $(PG_PORT) -d sutty
psql := psql $(DATABASE_URL)
copy-table:
test -n "$(table)"
echo "truncate $(table) $(cascade);" | $(psql)