Closed tanacchi closed 4 years ago
データベース操作を可能にした.
Heroku Postgres (addon)を追加. 環境変数 DATABASE_URL に url を設定. 設定しなかった場合はローカルに local.db が生成される. .db ファイルは sqllite3 コマンドで操作できる.
Heroku Postgres を直接操作する場合は heroku pg:psql コマンドを使う.
テーブルの初期設定は python インタプリタから tanakinator.models.init を実行.
データベース操作を可能にした.
Heroku Postgres (addon)を追加. 環境変数 DATABASE_URL に url を設定. 設定しなかった場合はローカルに local.db が生成される. .db ファイルは sqllite3 コマンドで操作できる.
Heroku Postgres を直接操作する場合は heroku pg:psql コマンドを使う.
テーブルの初期設定は python インタプリタから tanakinator.models.init を実行.