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

pls ad to readme: if using postgres (Heroku), use :string not :enum in migrations #43

Open
jpwynn opened this issue Jan 28, 2012 · 0 comments

Comments

@jpwynn
Copy link

jpwynn commented Jan 28, 2012

I found a note to this in an old issue, but it really ought to be in the readme because ...

by the time you push to heroku,
hit the error,
FIND the error,
then fix the error several commits back in your repo's to fix the migration (have to go back in history to fix it, can't add another migration later to fix it because the migration with :enum stops further migrations) is a real pain.

For that matter, is there any reason to recommend using :enum instead of :string in migrations in the first place?

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