Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('quotes', function (Blueprint $table) { |
||
17 | $table->id(); |
||
18 | $table->string('author')->nullable(); |
||
19 | $table->text('description'); |
||
20 | //$table->boolean('shown')->default(0); |
||
21 | $table->string('show_where')->nullable(); |
||
22 | $table->boolean('is_published')->default(0); |
||
23 | $table->dateTime('shown_backend_on')->nullable(); |
||
24 | $table->dateTime('shown_frontend_on')->nullable(); |
||
25 | |||
26 | $table->string('slug'); |
||
27 | $table->timestamps(); |
||
28 | }); |
||
41 |