Trouble to run rake db:migrate
Opened this issue · 0 comments
mishatatinets commented
That might same error that described in #103 .
In my existing app I have class Page, but when I run rake db:migrate it is stops on _create_storytime_snippets.storytime.rb:15:in `up' and I get this:
You tried to define an enum named "root_page_content" on the model "Storytime::Site", but this will generate a class method "page", which is already defined by Active Record /.rvm/gems/ruby-2.2.3@b/gems/activerecord-4.2.4/lib/active_record/enum.rb:172:in `detect_enum_conflict!'
Any ideas what can cost this.
Thank you.