This project is archived and is in readonly mode.

#1273 ✓committed
Oliver Friedrichs

Binary table default values

Reported by Oliver Friedrichs | October 26th, 2008 @ 06:12 PM | in 2.3.4

I have an existing database, with a schema that has binary columns, and a default value for those columns (in this case "0000000000000000"). I am trying to extract the schema using "rake --trace db:schema:dump", and am getting the following error: ** Execute db:schema:dump rake aborted! binary columns cannot have a default value: "0000000000000000" Clearly it does not like default binary values.

I was told that this is in fact bug; and not a limitation of ROR. If anyone has any advice on a workaround, I would appreciate it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>


Referenced by