Skip to content

Commit 1a32ac0

Browse files
author
Igor Chepurnoy
committed
Update m150105_172247_create_cron_schedule_tbl.php
1 parent 1f96c6c commit 1a32ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/m150105_172247_create_cron_schedule_tbl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function safeUp()
1717
[
1818
'id' => Schema::TYPE_PK,
1919
'jobCode' => Schema::TYPE_STRING . '(255) NULL DEFAULT NULL',
20-
'status' => Schema::TYPE_STRING . '(255) NULL DEFAULT NULL',
20+
'status' => Schema::TYPE_SMALLINT . ' NOT NULL',
2121
'messages' => Schema::TYPE_TEXT . ' NULL',
2222
'dateCreated' => Schema::TYPE_TIMESTAMP . ' NULL DEFAULT NULL',
2323
'dateScheduled' => Schema::TYPE_TIMESTAMP . ' NULL DEFAULT NULL',

0 commit comments

Comments
 (0)