bigIncrements('id'); $table->unsignedBigInteger('team_id')->index()->nullable(); $table->string('name'); $table->text('description')->nullable(); $table->timestamps(); $table->softDeletes(); }); Schema::table(config('laravel-crm.db_table_prefix').'organisations', function (Blueprint $table) { $table->unsignedBigInteger('industry_id')->index()->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table(config('laravel-crm.db_table_prefix').'organisations', function (Blueprint $table) { $table->dropColumn(['industry_id']); }); Schema::dropIfExists(config('laravel-crm.db_table_prefix').'industries'); } }