make run database seed error
nithronium opened this issue · 1 comments
Hello everyone,
I have tried installing rubykube workbench on my system. I was successful till the last step and when I run the command make run
I encountered an error. It appears to me that there is a problem with the database seed.
So, database successfully creates tables & inputs data, and when it comes to the "orders" table, and tries inserting USD, it encounters an error.
(2.6ms) COMMIT (0.1ms) BEGIN Currency Exists (0.4ms) SELECT 1 AS one FROM
currenciesWHERE
currencies.
id= 'usd' LIMIT 1 (0.2ms) ROLLBACK rake aborted! ActiveRecord::UnknownAttributeError: unknown attribute 'quick_withdraw_limit' for Currency.
Probably it is about the quick_withdraw_limit attribute on the database seed.
I have also tried seeing which version of paetio workbench was pulling and I think it is 1.9.1 rc.22
Okay the error is being resolved if you delete the lines I showed on pull request. Remove "quick_withdraw_limit" parameters from config/peatio/seed/currencies.yml and config/peatio-seed-btc/currencies.yml
Detailed info is here : https://github.com/rubykube/workbench/pull/257/files