increments('id'); $table->integer('clinic_id')->nullable(); $table->integer('department_id')->nullable(); $table->integer('doctor_id')->nullable(); $table->string('patient_name', 255)->nullable(); $table->string('email', 255)->nullable(); $table->string('phone', 255)->nullable(); $table->string('address', 255)->nullable(); $table->date('appointment_time')->nullable(); $table->enum('status', ['Pending','Accepeted','Declined'])->nullable(); $table->string('slug', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('appointments'); } }