]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/schema.php
Merge branch 'diskcache' into 0.9.x
[quix0rs-gnu-social.git] / lib / schema.php
index a8ba91b87fcde9ab1132db0ac81ad0c30c7e53d4..a7f64ebed10cfce99fb780756a6fffa78831df83 100644 (file)
@@ -523,6 +523,14 @@ class Schema
         } else {
             $sql .= ($cd->nullable) ? "null " : "not null ";
         }
+        
+        if (!empty($cd->auto_increment)) {
+            $sql .= " auto_increment ";
+        }
+
+        if (!empty($cd->extra)) {
+            $sql .= "{$cd->extra} ";
+        }
 
         return $sql;
     }