Allow custom column types in your Rails migrations
posted: April 7th, 2007 · by: Sven
We’ll all admit it. Rails’ migrations rock. Totally.
But when you try to change a database column to some vendor specific type (like varbinary for MySQL) that Rails doesn’t implement you notice that Rails doesn’t hand over control that easily here like it does elsewhere in ActiveRecord. You’re just not supposed to use any custom types.
This article explains how to easily change that behaviour.
Read the rest of this entry