increments('id'); $table->integer('company_id')->nullable(); $table->integer('batch_id')->nullable(); $table->enum('module', ['product','contract'])->nullable(); $table->enum('type', ['Import','Export'])->nullable(); $table->text('file')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 60)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('schedulers'); } }