bigIncrements('id')->unique(); $table->integer('subject_id'); $table->date('date'); $table->string('classes_code')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('classes'); } }