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 | 20 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | \Schema::create('news', function (Blueprint $table) { |
||
| 16 | $table->increments('id'); |
||
| 17 | $table->string('title'); |
||
| 18 | $table->string('slug'); |
||
| 19 | $table->longText('content'); |
||
| 20 | $table->unsignedInteger('category'); |
||
| 21 | $table->tinyInteger('publish'); |
||
| 22 | $table->timestamp('publish_date')->nullable(); |
||
| 23 | $table->timestamp('unpublish_date')->nullable(); |
||
| 24 | $table->timestamp('event_date')->nullable(); |
||
| 25 | $table->unsignedInteger('creator_id'); |
||
| 26 | $table->unsignedInteger('modified_id'); |
||
| 27 | $table->string('alt_text'); |
||
| 28 | $table->string('seo_title'); |
||
| 29 | $table->string('seo_keywords'); |
||
| 30 | $table->string('seo_description'); |
||
| 31 | $table->softDeletes(); |
||
| 32 | $table->timestamps(); |
||
| 33 | }); |
||
| 46 |