summaryrefslogtreecommitdiffstats
path: root/kexi/migration/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/migration/mysql')
-rw-r--r--kexi/migration/mysql/mysqlmigrate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/migration/mysql/mysqlmigrate.cpp b/kexi/migration/mysql/mysqlmigrate.cpp
index 013613ea..9b69350b 100644
--- a/kexi/migration/mysql/mysqlmigrate.cpp
+++ b/kexi/migration/mysql/mysqlmigrate.cpp
@@ -509,7 +509,7 @@ void MySQLMigrate::getConstraints(int flags, KexiDB::Field* fld) {
fld->setPrimaryKey(flags & PRI_KEY_FLAG);
fld->setAutoIncrement(flags & AUTO_INCREMENT_FLAG);
fld->setNotNull(flags & NOT_NULL_FLAG);
- fld->setUniqueKey(flags & UNITQUE_KEY_FLAG);
+ fld->setUniqueKey(flags & UNIQUE_KEY_FLAG);
//! @todo: Keys and uniqueness
}