Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function up() |
||
13 | { |
||
14 | DB::transaction(function () { |
||
15 | Schema::create('test_models', function (Blueprint $table) { |
||
16 | $table->increments('id'); |
||
17 | |||
18 | $table->string('name'); |
||
19 | $table->string('some_field'); |
||
20 | $table->float('version')->default(0.0); |
||
21 | }); |
||
22 | |||
23 | Schema::create('soft_test_models', function (Blueprint $table) { |
||
24 | $table->increments('id'); |
||
25 | $table->softDeletes(); |
||
26 | |||
27 | $table->string('name'); |
||
28 | }); |
||
40 |