Hi! I have this in my model: class User include DataMapper::Resource
property :id, Serial property :username, String property :hash, String, :length => 128 end but in the sql log I got this: Tue, 28 Jul 2009 14:53:45 GMT ~ debug ~ (0.084280) CREATE TABLE `users` (`id` INT NOT NULL AUTO_INCREMENT, `username` VARCHAR(50), `hash` VARCHAR(50), PRIMARY KEY(`id`)) ENGINE = InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci As you can see, it gives a size of 50 to the column hash. and i wanted of 128 what I am missing? greatings! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
