Closed
Description
spanner supports nonstandard STRING(MAX)
column def https://cloud.google.com/spanner/docs/reference/standard-sql/data-definition-language#scalars
in migrations it worked like
$table->string('column', 'MAX');
while it works, phpstan fires error
Parameter #2 $length of method Illuminate\Database\Schema\Blueprint::string() expects int|null, string given.
while @phpstan-ignore-next-line
helps probably some more advanced solution will be more usable
Metadata
Metadata
Assignees
Labels
No labels