I have been trying to create a Sequel migration file using the pg_inet
datatypes without success. Can someone provide an example of how to do so?
Something along the lines of:
Sequel.migration do
up do
alter_table(:ipaddresses) do
add_column :address, ????
end
end
end
As a second question, do I have to use the 'DB' global variable to load the
extension (DB.extension :pg_inet) in that migration script?
I tried finding the answer but there seems to be limited documentation on
the subject.
--
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.