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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user