| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | Schema::create('fg_reviews', function (Blueprint $table) { |
||
| 18 | $table->string('id')->index(); |
||
| 19 | $table->string('ministry_id', 150)->index(); |
||
| 20 | $table->enum('type', Helper::$reviewTypes); |
||
| 21 | $table->text('review'); |
||
| 22 | $table->boolean('read')->default(false); |
||
| 23 | $table->timestamps(); |
||
| 24 | |||
| 25 | $table->foreign('ministry_id')->references('id')->on('fg_ministries')->onDelete('cascade'); |
||
| 26 | }); |
||
| 39 |