I'm trying to do a migration to add a new text column to a table. This
doesn't work:
def up
alter_table(:books) do
add_column :description, Text
end
end
but this does:
def up
alter_table(:books) do
add_column :description, String
end
end
I've actually used "Text" in creating tables, just not in an add_column. Is
there some reason this won't work?
--
Scott
http://steamcode.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---