basic listing files

This commit is contained in:
Jonathan Labreuille
2015-10-28 13:18:56 +01:00
parent 01e6a5e6b2
commit 103da61d45
10 changed files with 457 additions and 2 deletions

View File

@@ -202,8 +202,7 @@ class Migrator {
'created_at TIMESTAMP NOT NULL DEFAULT 0,',
'deleted_at TIMESTAMP NULL DEFAULT NULL,',
'updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
'PRIMARY KEY (id),',
'UNIQUE KEY name (name)'
'PRIMARY KEY (id)'
);
return $this->sqlify(__FUNCTION__, $attributes);
}