increments('id'); $table->integer('parent_id')->nullable(); $table->string('parent_type', 50)->nullable(); $table->text('description')->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('notes'); } }