On Jan 16, 6:31 pm, coolesting <[email protected]> wrote:
> $ sequel -m db/b/migrations 'sqlite://db/data.db'
>
> Error: Sequel::Migrator::Error: Applied migration files not in file
> system: 20111227001707_create_user.rb/home/app/ruby/lib/ruby/gems/
> 1.9.1/gems/sequel-3.27.0/lib/sequel/extensions/migration.rb:582:in
> `get_applied_migrations'
>
> Why do i get this error, my migration folder structure as the
> following,
>
> db/a/migrations/XXXXX_create_user.rb ( the
> 20111227001707_create_user.rb file above)
> ...
> ... more migration files
>
> db/b/migrations/XXXXX_create_post.rb
> ...
> ... more migration files

Sequel's timestamp migrator doesn't support using two separate
migration directories with a single migration table.  Either use two
separate migration tables (you'll have to use the API for that), or
use a single migration directory.

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.

Reply via email to