I'm having a problem where I can't get Strings to be create with the
right size in the database
I've defied a model
module MyModule
class MyModel
include DataMapper::Resource
property :id, Serial
property :path, String, :size => 500
end
end
However, when I do
MyModule::MyModel.auto_migrate!
I get a field in mysql for path that is varchar(50). I always get
varchar(50), no matter what :size I specify. I also tried :length but
got the same result.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---