Generators aren't that hard to make. In fact, it can be done in a simple Rake task:
https://github.com/YorickPeterse/Stumpert/blob/develop/task/db.rake#L18 Of course you'll have to change some code (e.g. the "Stumpert.options" part) but other than that it's really easy. Yorick On Jun 15, 2:39 am, Jeremy Evans <[email protected]> wrote: > On Jun 14, 4:32 pm, Joe Van Dyk <[email protected]> wrote: > > > Thanks! Not sure how I missed that in the docs. It wasn't that clear > > from the error message though. :) Sequel doesn't have anything that > > will automatically generate a template migration file for you, right? > > The file naming convention is mentioned in the > migration.rdoc:http://sequel.rubyforge.org/rdoc/files/doc/migration_rdoc.html > > I agree that the error message could be better. How about the > following: > > "No target version available, probably because no migration files > found or filenames don't follow the migration filename convention" > > I don't really like generators, so I don't expect them to be added to > Sequel. However, it someone else wants to work on them, I'll happily > link to their project from the Sequel website. > > Jeremy -- 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.
