increments('id'); $table->integer('parent_id')->nullable(); $table->integer('parent_type')->nullable(); $table->string('name', 100)->nullable(); $table->string('slug', 100)->nullable(); $table->integer('customer_id')->nullable(); $table->string('status', 30)->nullable(); $table->string('priority', 30)->nullable(); $table->smallInteger('assigned_to')->nullable(); $table->dateTime('date_start')->nullable(); $table->dateTime('date_end')->nullable(); $table->string('description', 100)->nullable(); $table->text('documents')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('tasks'); } }