I'd love to be able to use something like this:
Sequel.migration do
change do
create_table(:my_table) do
comment "This shortly explain the purpose of this table"
primary_key :id
String :name, null: false
end
end
end
Or maybe create_table :my_table, comment: 'my_comment' do...
Having to resort to something like this is not ideal because it would
require a separate migration, since Sequel Migrations doesn't support AR
"reversible" feature inside a change block:
DB << "comment on table my_table is 'this explains the purpose of this
table'"
I couldn't find anything related to that looking at Sequel's documentation.
Thanks in advance,
Rodrigo.
--
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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.