forked from aurorasoft/radiant-simple-product-manager
-
Notifications
You must be signed in to change notification settings - Fork 10
Installation migrations
dirkkelly edited this page Oct 23, 2010
·
2 revisions
The migration will create the tables you need to create a standard store, with all of them prefixed by shop_
.
You won't lose any data, and the migrations do not create any data. They just build the schema shop needs.
I'm really sorry, but you're going to have migration nightmares. So a manual massage of data is likely your best course of action.
Check out RadiantExportExtension which you can use to export your data and schema. You can then manually update the schema to match the new migrations and import them again.
rake radiant:extensions:export:dump
rake db:drop
# Make your changes to db/schema.rb (check out shop/db/migrate/20101011063133_setup_shop.rb)
rake radiant:extensions:export:load
If you're scared of losing a production database you can contact @dirkkelly for help on massaging the data.
Go back to Installation