Fixes 319 - MySQL 5.6 compatibility

Removed the default field during migrations for text fields
Added "required" option on incident message
This commit is contained in:
Walter Dal Mut
2015-01-08 13:38:29 +01:00
parent b3591ce59b
commit 7868759940
5 changed files with 7 additions and 7 deletions
@@ -16,9 +16,9 @@ class CreateComponentsTable extends Migration
Schema::create('components', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->text('description')->default('');
$table->text('link')->default('');
$table->text('tags')->default('');
$table->text('description');
$table->text('link');
$table->text('tags');
$table->integer('status');
$table->integer('order');
$table->integer('group_id');
@@ -18,7 +18,7 @@ class CreateIncidentsTable extends Migration
$table->integer('component_id')->default(0);
$table->string('name');
$table->integer('status');
$table->longText('message')->default('');
$table->longText('message');
$table->integer('user_id');
$table->timestamps();
$table->softDeletes();
@@ -17,7 +17,7 @@ class CreateMetricsTable extends Migration
$table->increments('id');
$table->string('name');
$table->string('suffix');
$table->text('description')->default('');
$table->text('description');
$table->boolean('display_chart')->default(1);
$table->timestamps();