mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 05:51:43 +00:00
fix: usar la url de la base de datos en psql
This commit is contained in:
parent
1a3c6a77ce
commit
c5cece436d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue