1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:34:04 +00:00

Fix syntax error

This commit is contained in:
lukinovec 2023-04-26 12:48:04 +02:00
parent 44acaadb6e
commit 9226a1ec6c

View file

@ -47,7 +47,8 @@ class CreateRLSPoliciesForTenantTables extends Command
return Command::SUCCESS; return Command::SUCCESS;
} else { } else {
$this->components->info("Table '$table' is not related to tenant. Make sure {$model::class} uses the BelongsToPrimaryModel trait."); $modelName = $model::class;
$this->components->info("Table '$table' is not related to tenant. Make sure $modelName uses the BelongsToPrimaryModel trait.");
return Command::FAILURE; return Command::FAILURE;
} }