| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function up() |
||
| 12 | { |
||
| 13 | Schema::create(config('rinvex.testimonials.tables.testimonials'), function (Blueprint $table) { |
||
| 14 | // Columns |
||
| 15 | $table->increments('id'); |
||
| 16 | $table->morphs('subject'); |
||
| 17 | $table->morphs('attestant'); |
||
| 18 | $table->boolean('is_approved')->default(false); |
||
| 19 | $table->string('body')->nullable(); |
||
| 20 | $table->timestamps(); |
||
| 21 | $table->softDeletes(); |
||
| 22 | }); |
||
| 23 | } |
||
| 24 | |||
| 30 |