Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | protected function setUpDatabase() |
||
43 | { |
||
44 | $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function (Blueprint $table) { |
||
45 | $table->increments('id'); |
||
46 | $table->string('name'); |
||
47 | $table->integer('order_column'); |
||
48 | }); |
||
49 | |||
50 | collect(range(1, 20))->each(function (int $i) { |
||
51 | Dummy::create(['name' => $i]); |
||
52 | }); |
||
53 | } |
||
54 | |||
62 |