summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-10 23:49:33 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-10 23:49:33 +0200
commit23c4a7155fc729369a2800793fdc2588ad1511ce (patch)
tree8a1df438a11f5ebaebc5c3d3620d56cbc5ee471e
parent28977f0ff28290bd063599c183e0e4539ae5546d (diff)
Fix syntax error in migration 2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/migrations/002_add_users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/migrations/002_add_users.php b/application/migrations/002_add_users.php
index 297f89c09..5675c77e9 100644
--- a/application/migrations/002_add_users.php
+++ b/application/migrations/002_add_users.php
@@ -7,7 +7,7 @@ class Migration_Add_users extends CI_Migration {
{
$this->db->query("
CREATE TABLE IF NOT EXISTS `users` (
- `id` int(8) UNSIGNED NOT NULL AUTO INCREMENT,
+ `id` int(8) UNSIGNED NOT NULL AUTO_INCREMENT,
`username` varchar(32) COLLATE ascii_general_ci NOT NULL,
`password` varchar(60) COLLATE ascii_general_ci NOT NULL,
`email` varchar(255) COLLATE ascii_general_ci NOT NULL,