Closed mahmoudreyaddev1 closed 2 months ago
$tenant1 = App\Models\Tenant::create(['id' => 'foo']);
SQLSTATE[42601]: Syntax error: 7 ERROR: zero-length delimited identifier at or near """" LINE 1: create table "" () ^ (Connection: tenant, SQL: create table "" ()).
try creating tenant using $tenant1 = App\Models\Tenant::create(['id' => 'foo']); doesn't work neither from tinker or from controller action
return Created Tenant Model
8.2.0
3.1.0
Please use our Discord for support questions.
Bug description
$tenant1 = App\Models\Tenant::create(['id' => 'foo']);
SQLSTATE[42601]: Syntax error: 7 ERROR: zero-length delimited identifier at or near """" LINE 1: create table "" () ^ (Connection: tenant, SQL: create table "" ()).
Steps to reproduce
try creating tenant using $tenant1 = App\Models\Tenant::create(['id' => 'foo']); doesn't work neither from tinker or from controller action
Expected behavior
return Created Tenant Model
Laravel version
8.2.0
stancl/tenancy version
3.1.0