id(); $table->string('vacancyName'); $table->longText('vacancyDescription'); $table->string('permissionGroupName'); $table->string('discordRoleID'); $table->bigInteger('vacancyFormID')->unsigned(); $table->integer('vacancyCount')->default(3); $table->timestamps(); $table->foreign('vacancyFormID')->references('id')->on('forms'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('vacancies'); } }