I'm trying to build a migration which would include an IP Address as a
zero-filled unsigned integer.
My migration looks something like this currently but `zerofill: true` is
not working
up do
create table :ip do
Integer :id, size: 7, default: nil
Integer :ip_address_integer, size: 10, unsigned: true, zerofill:
true
varchar :scan_time, size: 32
primary_key :id
end
end
How would I make the IP address zero filled using the sequel ORM?
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.