summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo
diff options
context:
space:
mode:
authorZachary Flower <zach@ninjaninja.net>2014-11-03 16:38:41 +0100
committerZachary Flower <zach@ninjaninja.net>2014-11-03 16:38:41 +0100
commit12ee7a1a74e45b1369876ea945ae3347da046087 (patch)
tree2c1589192c88d165e2cc7281f0892ec9e37ca541 /system/database/drivers/pdo
parente59347dd1665078beb41a1e6ca1b12932b489336 (diff)
Move comment field after unique field in db forge
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
index 85b6ebe84..2152dea30 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
@@ -206,8 +206,8 @@ class CI_DB_pdo_mysql_forge extends CI_DB_pdo_forge {
.$field['null']
.$field['default']
.$field['auto_increment']
- .$field['comment']
.$field['unique']
+ .$field['comment']
.$extra_clause;
}