increments('id'); $table->integer('project_id')->nullable(); $table->integer('column_id')->nullable(); $table->integer('assigned_to')->nullable(); $table->integer('created_by')->nullable(); $table->string('title', 255)->nullable(); $table->enum('priority', ['High','Medium','Low'])->nullable(); $table->enum('colors', ['Red','Green','Blue','Yellow','Purple','Gray'])->nullable(); $table->integer('order')->nullable(); $table->integer('weightage')->nullable(); $table->integer('tags')->nullable(); $table->text('reference')->nullable(); $table->text('documents')->nullable(); $table->text('screenshot')->nullable(); $table->text('files')->nullable(); $table->text('links')->nullable(); $table->enum('complexity', ['1','2','3','4','5'])->nullable(); $table->dateTime('start_time')->nullable(); $table->dateTime('time_taken')->nullable(); $table->time('duration')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('tasks'); } }