Skip to content

Instantly share code, notes, and snippets.

@dnordstrom
Created January 3, 2012 19:26
Show Gist options
  • Save dnordstrom/1556474 to your computer and use it in GitHub Desktop.
Save dnordstrom/1556474 to your computer and use it in GitHub Desktop.
require 'migraine'
migration = Migraine::Migration.new(
from: 'mysql://root:root@localhost/migraine_from',
to: 'mysql://root:root@localhost/migraine_to'
)
migration.prefix 'spree_'
migration.generate 'generated.rb'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment