Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function up() |
||
24 | { |
||
25 | Schema::create(Config::get('scheduler.schedules_table'), function (Blueprint $table) { |
||
26 | $table->increments('id'); |
||
27 | $table->string('model_type'); |
||
28 | $table->integer('model_id'); |
||
29 | $table->timestamp('start_at'); |
||
30 | $table->timestamp('end_at')->nullable(); |
||
31 | $table->integer('status')->nullable(); |
||
32 | $table->json('data')->nullable(); |
||
33 | $table->timestamps(); |
||
34 | $table->softDeletes(); |
||
35 | }); |
||
47 | } |