| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('insights', function (Blueprint $table) { |
||
| 17 | $table->id(); |
||
| 18 | |||
| 19 | $table->string('title'); |
||
| 20 | $table->text('body')->nullable(); |
||
| 21 | $table->string('introimage')->nullable(); |
||
| 22 | $table->string('introimage_alt')->nullable(); |
||
| 23 | $table->boolean('is_published')->default(0); |
||
| 24 | |||
| 25 | $table->text('facebook_body')->nullable(); |
||
| 26 | $table->text('twitter_body')->nullable(); |
||
| 27 | $table->text('instagram_body')->nullable(); |
||
| 28 | |||
| 29 | $table->string('facebook_url')->nullable(); |
||
| 30 | $table->string('twitter_url')->nullable(); |
||
| 31 | $table->string('instagram_url')->nullable(); |
||
| 32 | |||
| 33 | $table->datetime('published_on_facebook_on')->nullable(); |
||
| 34 | $table->datetime('published_on_twitter_on')->nullable(); |
||
| 35 | $table->datetime('published_on_instagram_on')->nullable(); |
||
| 36 | |||
| 37 | $table->string('slug'); |
||
| 38 | $table->timestamps(); |
||
| 39 | }); |
||
| 52 |