id()->autoIncrement(); $table->integer('type_id'); $table->string('name',100)->nullable(); $table->string('subject',100)->nullable(); $table->longText('message')->nullable(); $table->tinyInteger('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('template'); } };