Skip to content

Commit 3efb12e

Browse files
committed
Change table schema
1 parent ce9a8d0 commit 3efb12e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/migrations/m141230_075228_create_file.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public function safeUp()
2121
'size' => Schema::TYPE_INTEGER . " NOT NULL DEFAULT 0",
2222
'extension' => "char(10) NOT NULL DEFAULT ''",
2323
'mime' => Schema::TYPE_STRING . "(100) NOT NULL DEFAULT ''",
24-
'date_create' => Schema::TYPE_TIMESTAMP . " DEFAULT NULL",
25-
'date_update' => Schema::TYPE_TIMESTAMP . " DEFAULT NULL",
24+
'date_create' => Schema::TYPE_TIMESTAMP . " NULL DEFAULT NULL",
25+
'date_update' => Schema::TYPE_TIMESTAMP . " NULL DEFAULT NULL",
2626
'ip' => Schema::TYPE_BIGINT . "(20) NOT NULL DEFAULT 0",
2727
'tmp' => "tinyint(1) NOT NULL DEFAULT 0",
2828
'position' => Schema::TYPE_INTEGER . " NOT NULL DEFAULT 0",

0 commit comments

Comments
 (0)