increments('id'); $table->integer('project_id')->nullable(); $table->string('name', 50)->nullable(); $table->string('icon', 50)->nullable(); $table->string('color', 50)->nullable(); $table->text('details')->nullable(); $table->text('fields')->nullable(); $table->string('slug', 50)->nullable(); $table->integer('created_by')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('tasktypes'); } }