Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration tasks don't let me overwrite the name of the schema_migrations table #118

Open
HoneyryderChuck opened this issue Jun 3, 2016 · 3 comments

Comments

@HoneyryderChuck
Copy link

This is the case where I'm migrating from AR to sequel, and the table has a different schema. Instead of force-update it, I could just use an alternative table, if I use the Migrator API correctly and am able to pass the :table directive. See http://sequel.jeremyevans.net/rdoc/classes/Sequel/Migrator.html#method-c-run

Here's where it's used within sequel_rails: https://github.com/TalentBox/sequel-rails/blob/master/lib/sequel_rails/migrations.rb#L6-L10

@mull
Copy link

mull commented Aug 14, 2018

Same problem here. Did you by any chance solve it?

@HoneyryderChuck
Copy link
Author

If I did, I don't remember how :/ sorry about that.

@mull
Copy link

mull commented Aug 15, 2018

No worries. I opted to not use the gem and write the DB tasks myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants