cfwheels-dbmigrate-plugin
cfwheels-dbmigrate-plugin copied to clipboard
Allow for the unique identifier column type (MS-GUID).
Using DBMigrate/MySQL, can I set constraint on a column to make sure it's unique, such as email?
You would do this in your model file
On Apr 21, 2012, at 6:38 PM, geirman [email protected] wrote:
can I set constraint on a column to make sure it's unique, such as email?
Reply to this email directly or view it on GitHub: https://github.com/talltroym/cfwheels-dbmigrate-plugin/issues/1#issuecomment-5264174
Thanks Troy, I've already done that. I can also set character length constraints in the model, but it's nice if I can also reinforce with a constraint in the table itself. Was just wondering... but the model should do :)