3,765
回編集
差分
Heroku
,編集の要約なし
$ heroku pg:psql -c "UPDATE clients SET nusi = true WHERE id = "
$ heroku pg:psql -c "DELETE FROM products WHERE price = 10"
== ローカルのテーブルをCSV(タブ区切り)で書き出しHEROKUのテーブルにコピーする == =# COPY accounts TO '/Users/jq/environment/table_data/accounts.csv' WITH CSV DELIMITER E'\t'; % heroku pg:psql -c "\COPY accounts(account_cd,account,bs_pl,debit_credit,created_at,updated_at) FROM '/Users/jq/environment/table_data/accounts.csv'"
== ログ ==
$ heroku logs --tail