diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-05 01:16:48 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-05 01:16:48 +0000 |
commit | 48289e607bf207b40201075be8b599c0f3fa597e (patch) | |
tree | d310e7091467460905287bc29b33098cf986a906 /lib/schema.php | |
parent | eb9514120a882aacae38f8b85a1f431852b44b89 (diff) | |
parent | 440b9957f9ae6fdfdb44c39074803fcdbc64112d (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/schema.php')
-rw-r--r-- | lib/schema.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/schema.php b/lib/schema.php index a8ba91b87..6fe442d56 100644 --- a/lib/schema.php +++ b/lib/schema.php @@ -523,6 +523,10 @@ class Schema } else { $sql .= ($cd->nullable) ? "null " : "not null "; } + + if (!empty($cd->auto_increment)) { + $sql .= " auto_increment "; + } return $sql; } |