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

Migrating from gorp #30

Open
rubenv opened this issue Dec 14, 2014 · 0 comments
Open

Migrating from gorp #30

rubenv opened this issue Dec 14, 2014 · 0 comments

Comments

@rubenv
Copy link

rubenv commented Dec 14, 2014

I've ported sql-migrate [1] into a second version named modl-migrate [2].

The only difficulty I had when migrating over from gorp was the fact that NewDbMap is obligatory (whereas in gorp it's just a struct you're making). Not doing this gives a very unobvious panic.

Now that gorp has gone unmaintained, perhaps it'd be a good idea to add a "Migrating from gorp" section to the README?

[1] https://github.com/rubenv/sql-migrate
[2] https://github.com/rubenv/modl-migrate

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

1 participant