Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Allowing bytea columns to migrate by ignoring length #33

Merged
merged 1 commit into from Oct 9, 2011

Conversation

miegs3
Copy link

@miegs3 miegs3 commented Oct 4, 2011

I found that I was unable to migrate into postgres when defining a binary property because the column was being defined with the default length.
Currently TEXT, CLOB and NVARCHAR were ignoring the length so I've added bytea to this list.

solnic added a commit that referenced this pull request Oct 9, 2011
Allowing bytea columns to migrate by ignoring length
@solnic solnic merged commit 4713f67 into datamapper:master Oct 9, 2011
@solnic
Copy link
Contributor

solnic commented Oct 9, 2011

@miegs3 thanks!

@mkristian
Copy link
Member

will that see a release one day ? kind of difficult to monkey patch this to get datamapper migration working on heroku: http://stackoverflow.com/questions/10154641/removing-limit-from-binary-column-for-postgresql-in-datamapper

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

Successfully merging this pull request may close these issues.

None yet

4 participants