jeremyevans/sequel — pull request #411 by jdjdgreen (2011-12-20 22:29:42+00:00)
Title: I added support for naming foreign keys, using a :constraint_name option

I ran into a problem where I couldn't drop foreign key columns in MySQL. Turns out you have to explicitly drop the foreign key constraint first, before dropping the column. From there I discovered there wasn't an easy way to control the name of the constraint with foreign_key. So, I added a :constraint_name option which lets you name the constraint.