Skip to content

Commit

Permalink
fix: add the missing bracket to the migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
novruzrhmv committed Feb 7, 2024
1 parent bbfd526 commit 623728b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ return new class extends Migration

public function down(): void
{
if (Schema::hasColumn(app(config('curator.model'))->getTable(), config('curator.tenant_ownership_relationship_name') . '_id'))
if (Schema::hasColumn(app(config('curator.model'))->getTable(), config('curator.tenant_ownership_relationship_name') . '_id')) {
Schema::table(app(config('curator.model'))->getTable(), function(Blueprint $table) {
$table->dropColumn(config('curator.tenant_ownership_relationship_name') . '_id');
});
Expand Down

0 comments on commit 623728b

Please sign in to comment.