I have a db table that dumps to this:
Class.new(Sequel::Migration) do
def up
create_table(:foo) do
primary_key :someId
column :fk, "int(11)", :null=>false
column :other_fk, "int(11)", :null=>false
column :type, "enum
('parent','child')", :default=>"parent".lit, :null=>false
end
def down
...
end
end
However, the ".lit" on the enum column chokes running the migration.
Anyone solved this yet?
Using sequel 3.0.0, mysql 5.0.82.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" 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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---