e.g. following code is working.
Sequel.migration do
change do
add_column :institutions, :stock_name, String
end
end
Sequel.migration do
change do
rename_column :institutions, :average_cost, :holding_cost
end
end
but we can not found the add_foreign_key method like this:
Sequel.migration do
change do
add_foreign_key :insiders, :stock_id, :stocks
end
end
Thank you.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/c43870ee-4b1d-4c6b-8268-1f37b58daf87n%40googlegroups.com.