Add CONSTRAINT definition to table creations
In order to give the foreign keys the right name, add CONSTRAINT constrain_name definitions to the forein key lines in all create table statements. If not named correctly, migrations may fail.
Submitted by Sander Vermolen on 26 May 2011 at 10:59