Say I have two migration files 001_TestMigration1.rb and 002_TestMigration2.rb with the first containing a create_table and the second containing an alter_table/add_column for up and the down containing drop_table and drop_column respectively.
What do I need to do to apply these migrations? I've tried a couple of things: sequel -m . -M 1 sqlite://test.db which I thought would run the first migration but didn't. I also tried programatically running: require 'rubygems' require 'sequel' Sequel::Migrator.apply(DB, '.', 1, 1) # To current version which I also thought (OK, hoped) would run the first migrator file. Looking at both, I guess I don't see how to specify which files are used for the migration in this case the 001 and 002 files. -- Scott http://steamcode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
