@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | 16 | |
| 17 | - Schema::create('WarningType', function (Blueprint $table) { |
|
| 17 | + Schema::create('WarningType', function(Blueprint $table) { |
|
| 18 | 18 | $table->increments('id'); |
| 19 | 19 | $table->string('name', 100); |
| 20 | 20 | $table->string('color', 6); |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $table->softDeletes(); |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - Schema::create('Warning', function (Blueprint $table) { |
|
| 25 | + Schema::create('Warning', function(Blueprint $table) { |
|
| 26 | 26 | $table->increments('id'); |
| 27 | 27 | $table->integer('warningtype')->unsigned(); |
| 28 | 28 | $table->text('message'); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $table->foreign('warningtype')->references('id')->on('WarningType'); |
| 37 | 37 | }); |
| 38 | 38 | |
| 39 | - Schema::create('Message', function (Blueprint $table) { |
|
| 39 | + Schema::create('Message', function(Blueprint $table) { |
|
| 40 | 40 | $table->increments('id'); |
| 41 | 41 | $table->integer('sent_by')->unsigned(); |
| 42 | 42 | $table->integer('parent')->unsigned(); |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $table->foreign('parent')->references('id')->on('Message'); |
| 49 | 49 | }); |
| 50 | 50 | |
| 51 | - Schema::create('MessageLog', function (Blueprint $table) { |
|
| 51 | + Schema::create('MessageLog', function(Blueprint $table) { |
|
| 52 | 52 | $table->increments('id'); |
| 53 | 53 | $table->integer('message')->unsigned(); |
| 54 | 54 | $table->tinyinteger('status'); |