If migrations gets it mostly right I just tweak the bits it got wrong
(or add DB defaults):
module MyProject
def self.auto_migrate!
DataMapper.auto_migrate!
DataMapper.repository.adapter.execute('alter table ...')
end
end
On Aug 19, 5:57 am, Don French <[email protected]> wrote:
> Is there a way to get smaller datatypes. I have several columns that
> should be anywhere fro one byte to char(6). I hate to use a varchar
> for these. Am I missing some way to specify these types?
>
> Don French
--
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.