>
> DB.alter_table(:table){add_foreign_key :column, :other_table}
>
Thx Jeremy, it worked great ;))
I must have overlooked that method ;((.
Below is a link to the piece of docs describing all that in more
details( in case somebody else would run into this problem too :)) )
http://sequel.rubyforge.org/rdoc/classes/Sequel/Schema/AlterTableGenerator.html#M000106
Btw, documentation provided with the Sequel lib is awesome ;)))
regards
S.Wojnowski
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---