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

Add migration generator #56

Merged
merged 2 commits into from
Jul 24, 2020
Merged

Conversation

thedanbob
Copy link
Contributor

Addresses #6.

Thanks for this project by the way, for background jobs I usually reach for sidekiq but I'm trying this out in an application where sidekiq would be major overkill.

@bensheldon
Copy link
Owner

@thedanbob this looks great! Thank you 🙌

I will merge this in and create a new Issue to add a test--it'll get hairy because it touches the filesystem and I don't want that to block the straightforward improvement.

@bensheldon bensheldon merged commit eaf5367 into bensheldon:main Jul 24, 2020
@thedanbob thedanbob deleted the migration-generator branch July 24, 2020 15:30
@thedanbob
Copy link
Contributor Author

You're welcome! 🎉

In case it's helpful, I lifted some of this from delayed_job and maybe what they do for testing could be useful for this project too: https://github.com/collectiveidea/delayed_job_active_record/blob/master/spec/helper.rb#L55-L72

Doesn't directly apply to #57 but it would keep the schema for other tests in sync with the migration template.

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

Successfully merging this pull request may close these issues.

2 participants