Heroku pg:push将我的表格放置在错误的模式中

时间:2019-01-04 21:20:58

标签: ruby-on-rails postgresql heroku push

似乎heroku pg:push已将我的所有数据放入一个以我的本地数据库命名的模式中,而不是在我的应用可以访问它们的公开位置中。

我该如何解决?

       Schema       |             Name             | Type  |     Owner      
--------------------+------------------------------+-------+----------------
 information_schema | sql_features                 | table | postgres
 information_schema | sql_implementation_info      | table | postgres
 information_schema | sql_languages                | table | postgres
 information_schema | sql_packages                 | table | postgres
 information_schema | sql_parts                    | table | postgres
 information_schema | sql_sizing                   | table | postgres
 information_schema | sql_sizing_profiles          | table | postgres
 lorax_development  | ac_coa                       | table | iykrnaofpnlzod
 lorax_development  | acbkacct                     | table | iykrnaofpnlzod
 lorax_development  | accommodation                | table | iykrnaofpnlzod
 lorax_development  | accommodation_copy           | table | iykrnaofpnlzod
 lorax_development  | address                      | table | iykrnaofpnlzod
 lorax_development  | advert                       | table | iykrnaofpnlzod
 lorax_development  | affiliation                  | table | iykrnaofpnlzod
 lorax_development  | agency                       | table | iykrnaofpnlzod
 lorax_development  | always                       | table | iykrnaofpnlzod
 lorax_development  | answer                       | table | iykrnaofpnlzod
 lorax_development  | ar_internal_metadata         | table | iykrnaofpnlzod
 lorax_development  | best_month                   | table | iykrnaofpnlzod
 lorax_development  | bklin                        | table | iykrnaofpnlzod
 ...

0 个答案:

没有答案