差分

移動先: 案内検索

Heroku

61 バイト追加, 2021年4月26日 (月) 11:18
ローカルのテーブルをCSVで書き出しHEROKUのテーブルにコピーする
=# COPY descriptions(content,user_id,jiin_id,account_id,created_at,updated_at,money) TO '/Users/jq/environment/table_data/descriptions.csv';
% heroku pg:psql -c "select setval ('descriptions_id_seq', 0)"  heroku pg:psql -c "\COPY descriptions(content,user_id,jiin_id,account_id,created_at,updated_at,money) FROM '/Users/jq/environment/table_data/descriptions.csv'"
== ログ ==

案内メニュー