{"title":"Rails\u3067\u8907\u6570DB\u306emigration","blog_url":"https://shepherdmaster.hateblo.jp/","url":"https://shepherdmaster.hateblo.jp/entry/2016/07/04/013055","provider_name":"Hatena Blog","author_name":"shepherdMaster","width":"100%","type":"rich","provider_url":"https://hatena.blog","version":"1.0","categories":["Rails","Ruby"],"description":"\u5927\u898f\u6a21\u306aRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3060\u3063\u305f\u308a\u3001\u65e7\u6765\u306e\u30b7\u30b9\u30c6\u30e0\u3092Rails\u306b\u7f6e\u304d\u63db\u3048\u305f\u308a\u3057\u3066\u308b\u3068\u3001\u3069\u3046\u3057\u3066\u3082\u8907\u6570DB\u3092\u6271\u3044\u305f\u304f\u306a\u3063\u3066\u304f\u308b\u3002 \u305d\u306e\u5834\u5408\u306f\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306alib/tasks/database_foo.rake\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 namespace :foo do desc 'Configure the variables that rails need in order to look up for the db configuration in a different folder' task :set_custom_db_config_paths do ENV['SCHEMA'] \u2026","height":"190","author_url":"https://blog.hatena.ne.jp/shepherdMaster/","published":"2016-07-04 01:30:55","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshepherdmaster.hateblo.jp%2Fentry%2F2016%2F07%2F04%2F013055\" title=\"Rails\u3067\u8907\u6570DB\u306emigration - \u4e16\u754c\u4e2d\u306e\u7f8a\u3092\u304b\u304d\u96c6\u3081\u3066\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u4e16\u754c\u4e2d\u306e\u7f8a\u3092\u304b\u304d\u96c6\u3081\u3066","image_url":null}