@@ -82,15 +82,15 @@ |
||
| 82 | 82 | */ |
| 83 | 83 | public function createTermablesTable() |
| 84 | 84 | { |
| 85 | - Schema::create('termables', function (Blueprint $table) { |
|
| 86 | - $table->unsignedInteger('term_id'); |
|
| 87 | - $table->morphs('termable'); |
|
| 85 | + Schema::create('termables', function (Blueprint $table) { |
|
| 86 | + $table->unsignedInteger('term_id'); |
|
| 87 | + $table->morphs('termable'); |
|
| 88 | 88 | |
| 89 | - $table->foreign('term_id') |
|
| 90 | - ->references('id') |
|
| 91 | - ->on('terms') |
|
| 92 | - ->onDelete('CASCADE'); |
|
| 93 | - }); |
|
| 89 | + $table->foreign('term_id') |
|
| 90 | + ->references('id') |
|
| 91 | + ->on('terms') |
|
| 92 | + ->onDelete('CASCADE'); |
|
| 93 | + }); |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |