Database

Drop unique constraint in MySQL

Recently in my Grails project I mentioned a domain field as unique in constraints. So the table automatically created also had the same constraint, but as the requirement changed the field was not supposed to be unique. Now we need to remove that constraint from the database table as well. The trick in MySQL is that it stores the unique...

by Uday Pratap Singh
Tag: drop unique constraint in mysql
02-Jul-2010