{"provider_name":"Hatena Blog","version":"1.0","image_url":null,"url":"https://tnakamura.hatenablog.com/entry/2014/09/28/reset_heroku_postgres_database","published":"2014-09-28 17:25:13","blog_url":"https://tnakamura.hatenablog.com/","provider_url":"https://hatena.blog","title":"Heroku Postgres \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u65b9\u6cd5\u30e1\u30e2","categories":["Heroku"],"author_name":"griefworker","height":"190","blog_title":"present","author_url":"https://blog.hatena.ne.jp/griefworker/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2014%2F09%2F28%2Freset_heroku_postgres_database\" title=\"Heroku Postgres \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u65b9\u6cd5\u30e1\u30e2 - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u5fd8\u308c\u3066\u6bce\u56de\u30cd\u30c3\u30c8\u3067\u691c\u7d22\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30d6\u30ed\u30b0\u306b\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002 heroku pg:reset DATABASE \u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u305d\u306e\u307e\u307e\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u30b3\u30d4\u30da\u3057\u3066\u5b9f\u884c\u3059\u308c\u3070\u3044\u3044\u3002DATABASE \u306e\u3068\u3053\u308d\u3092\u7f6e\u304d\u63db\u3048\u308b\u5fc5\u8981\u306a\u3057\u3002 \u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u7528\u3068\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u7528\u306b\u8907\u6570\u306e\u30a2\u30d7\u30ea\u304c\u3042\u308b\u5834\u5408\u306f heroku pg:reset DATABASE --app <your_app_name> \u3092\u5b9f\u884c\u3059\u308b\u3002<your_app_name> \u306f Heroku \u30a2\u30d7\u30ea\u306e\u540d\u524d\u3067\u7f6e\u304d\u63db\u3048\u308b\u3002","type":"rich"}