id(); $table->date('date')->index(); $table->tinyInteger('week'); $table->time('start_time'); $table->time('end_time'); $table->time('stop_time'); $table->bigInteger('max_count'); $table->bigInteger('used_count'); $table->bigInteger('hospital'); $table->tinyInteger('status'); $table->tinyInteger('del')->default(2); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('appointments'); } }