increments('id'); $table->integer('course_id')->nullable(); $table->text('name')->nullable(); $table->integer('logo')->nullable(); $table->string('descreption', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('subjects'); } }