increments('id'); $table->string('name', 50)->nullable(); $table->string('slug', 200)->nullable(); $table->integer('parent_id')->nullable(); $table->integer('customer_id')->nullable(); $table->string('status', 30)->nullable(); $table->string('priority', 30)->nullable(); $table->string('assigned_user', 30)->nullable(); $table->date('date_start')->nullable(); $table->date('date_due')->nullable(); $table->string('description', 100)->nullable(); $table->integer('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'); } }