| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function up() |
||
| 26 | { |
||
| 27 | Schema::create('histories', function (Blueprint $table) { |
||
| 28 | $table->bigIncrements('id'); |
||
| 29 | $table->morphs('historiable'); |
||
| 30 | $table->string('changed_column'); |
||
| 31 | $table->text('value_from')->nullable(); |
||
| 32 | $table->text('value_to')->nullable(); |
||
| 33 | $table->timestamps(); |
||
| 34 | }); |
||
| 35 | } |
||
| 36 | |||
| 47 |