Closed ghost closed 12 years ago
Alchemy has its own namespaced users table named alchemy_users
.
The problem is that the old migrations add the users
table at first. Later it will be renamed into the new namespaced one.
We should compact the old migrations. But we have to find a way to be downwards compatible, so that old projects can be migrated as well. Spree does this very well.
I understand .. will check that
I pushed to the current master branch that should fix this issue. Please try it out and report any feedback.
Remove all Alchemy migrations from your db/migrate
folder and update your Gemfile
# Gemfile
gem 'alchemy_cms', :github => 'magiclabs/alchemy_cms'
Update your bundle
bundle update
Rerun the migrations
rake db:migrate
Thanks
I surely have missed something, but upon running
== CreateUsers: migrating ==================================================== -- create_table(:users) rake aborted! An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'users' already exists:
what's wrong with this ? should I delete manually the create_users.alchemy.rb file ? sorry , I guess I should post this issue in the google group ...