ActiveRecord :: StatementInvalid:Mysql2 :: Error:Table' exchange_development.documents'不存在:从`documents`显示完整的字段

时间:2018-04-17 07:38:30

标签: mysql ruby-on-rails ruby

我收到以下错误:https://gist.github.com/glaksmono/859e495d61bfb4c66e1bdb24dbdf5719

以下是我在数据库中的内容:

mysql> mysql> SHOW DATABASES;
+----------------------+
| Database             |
+----------------------+
| information_schema   |
| exchange_development |
| exchange_production  |
| exchange_test        |
| mysql                |
| performance_schema   |
| sys                  |
+----------------------+
7 rows in set (0.00 sec)

mysql> USE exchange_development;
Database changed
mysql> SHOW TABLES;
Empty set (0.00 sec)

mysql>

我之前尝试过执行bundle exec rake db:schema:load,并一直在网上搜索,但到目前为止还没有。想法?

0 个答案:

没有答案