Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function up() |
||
10 | { |
||
11 | Schema::create('duck_funk_news', function (Blueprint $table) { |
||
12 | $table->bigIncrements('id'); |
||
13 | $table->string('title', 155); |
||
14 | $table->string('subtitle', 255); |
||
15 | $table->text('body'); |
||
16 | $table->json('categories')->nullable(); |
||
17 | $table->string('image_link', 255)->nullable(); |
||
18 | $table->integer('hotelview_news_id')->default(null)->nullable(); |
||
19 | $table->boolean('draft')->default(false); |
||
20 | $table->unsignedBigInteger('author'); |
||
21 | $table->timestamps(); |
||
22 | $table->timestamp('published_at')->nullable(); |
||
23 | $table->softDeletes(); |
||
24 | }); |
||
25 | } |
||
26 | |||
32 |