increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->integer('patient_id')->nullable(); $table->integer('branch_id')->nullable(); $table->integer('physician_id')->nullable(); $table->integer('referral_source')->nullable(); $table->integer('type')->nullable(); $table->enum('status', ['Not confirmed','Confirmed'])->nullable(); $table->text('description')->nullable(); $table->dateTime('date')->nullable(); $table->time('length')->nullable(); $table->string('prior_auth', 100)->nullable(); $table->date('prior_auth_exp')->nullable(); $table->text('notes')->nullable(); $table->text('repeat')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('appointments'); } }