We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yiisoft
Learn more about funding links in repositories.
Report abuse
ColumnBuilder::string()->primaryKey()
1 parent 79b33b3 commit 5764c5fCopy full SHA for 5764c5f
tests/Provider/QueryBuilderProvider.php
@@ -287,6 +287,7 @@ public static function buildColumnDefinition(): array
287
$values["check('value > 5')"][0] = 'integer CHECK (`col_59` > 5)';
288
$values["comment('comment')"][0] = 'varchar(255) /* comment */';
289
$values['integer()->primaryKey()'][0] = 'integer PRIMARY KEY NOT NULL';
290
+ $values['string()->primaryKey()'][0] = 'varchar(255) PRIMARY KEY NOT NULL';
291
$values['unsigned()'][0] = 'integer';
292
293
return $values;
0 commit comments