Fix the tinyInteger default value on MySQL

This commit is contained in:
James Brooks
2014-11-20 19:32:29 +00:00
parent b24c7da952
commit 12975ca98a

View File

@@ -17,7 +17,7 @@ class CreateIncidentsTable extends Migration {
$table->increments('id');
$table->tinyInteger('component')->default(1);
$table->string('name');
$table->tinyInteger('status', 1)->default(1);
$table->tinyInteger('status')->default(1);
$table->longText('message');
$table->timestamps();
$table->softDeletes();