increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->integer('client_id')->nullable(); $table->integer('unit_id')->nullable(); $table->integer('job_id')->nullable(); $table->string('reference', 100)->nullable(); $table->string('location', 255)->nullable(); $table->text('details')->nullable(); $table->date('date')->nullable(); $table->enum('shift_type', ['Day','Night'])->nullable(); $table->float('break_time')->nullable(); $table->string('space', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('vacancies'); } }