This project is archived and is in readonly mode.
Column default value
Reported by Alexp | May 8th, 2008 @ 11:55 PM
Trying to use activerecord class with mediawiki database i got the following error:
binary columns cannot have a default value: "\000\000\000\000\000\000\000\000\000\000\000\000\000\000
If i hack the mysql_adapter.rb file and comment out the following line
raise ArgumentError, "#{type} columns cannot have a default value: #{default.inspect}"
everything works well.
I don't know if this is a bug or not. Is there a way to bybass this check?
Comments and changes to this ticket
-
josh June 13th, 2008 @ 06:52 AM
- State changed from new to invalid
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>