Skip to content

Allowing bytea columns to migrate by ignoring length #33

Merged
merged 1 commit into from Oct 9, 2011

4 participants

@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.

@jpr5
DataMapper member
jpr5 commented on f091e37 Oct 6, 2011

Seems fine.

cc: @solnic

@solnic solnic merged commit 4713f67 into datamapper:master Oct 9, 2011
@solnic
DataMapper member
solnic commented Oct 9, 2011

@miegs3 thanks!

@mkristian
DataMapper 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 join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.