We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 36 |
| Code Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::drop('carousels'); |
||
| 17 | |||
| 18 | Schema::drop('carousel_slides'); |
||
| 19 | |||
| 20 | Schema::create('carousels', function (Blueprint $table) { |
||
| 21 | $table->increments('id'); |
||
| 22 | $table->string('name'); |
||
| 23 | $table->integer('page_id'); |
||
| 24 | |||
| 25 | $table->integer('editor_id'); |
||
| 26 | $table->integer('creator_id'); |
||
| 27 | |||
| 28 | $table->softDeletes(); |
||
| 29 | $table->timestamps(); |
||
| 30 | }); |
||
| 31 | |||
| 32 | Schema::create('carousel_slides', function (Blueprint $table) { |
||
| 33 | $table->increments('id'); |
||
| 34 | $table->string('title'); |
||
| 35 | $table->string('description')->nullable(); |
||
| 36 | $table->string('image_loc')->nullable(); |
||
| 37 | |||
| 38 | $table->integer('carousel_id')->nullable(); |
||
| 39 | $table->integer('order')->default(99); |
||
| 40 | |||
| 41 | $table->string('link_type')->nullable(); |
||
| 42 | $table->string('link_url')->nullable(); |
||
| 43 | $table->string('link_target')->nullable(); |
||
| 44 | |||
| 45 | $table->integer('editor_id')->default(1); |
||
| 46 | $table->integer('creator_id')->default(1); |
||
| 47 | |||
| 48 | $table->softDeletes(); |
||
| 49 | $table->timestamps(); |
||
| 50 | }); |
||
| 63 |