CultivateLabs / storytime

Storytime is a Rails 4+ CMS and blogging engine, with a core focus on content. It is built and maintained by @cultivatelabs
MIT License
752 stars 81 forks source link

Trouble to run rake db:migrate #187

Open mishatatinets opened 9 years ago

mishatatinets commented 9 years ago

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.