Hi,
We have develop a task to migrate files from db/migration at engine level 
to the wrapper.
something activerecord already have:
https://github.com/rails/rails/blob/16f2cd88e3ee92de341ba30b102e9206be3c68a7/activerecord/lib/active_record/migration.rb#L886

One important instruction there is to update version (timestamp) while 
moving those files to the main wrapper. 
i.e: 20180508164825_add_expiration.rb will become 
*20190924*164825_add_expiration 
after task done.
Now, TimeStampMigrator is looking in FS for 20180508164825_add_expiration 
and not for *20190924*164825_add_expiration since Sequel relies on full 
name including version and not only search for "add_expiration"
in schema_migrations table.

Possible workaround is [
https://stackoverflow.com/questions/39853525/how-to-ignore-a-missing-migration-with-sequel-s]
 to 
override db:migrate tasks and to add 

Sequel::Migrator.run(db, "db/migrations", allow_missing_migration_files: true


What is your opinion?

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/2da86a2a-ad06-47c4-9586-82572842107f%40googlegroups.com.

Reply via email to