Skip to content

Commit 5764c5f

Browse files
authoredJan 8, 2025··
Test ColumnBuilder::string()->primaryKey() (#333)
1 parent 79b33b3 commit 5764c5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎tests/Provider/QueryBuilderProvider.php

+1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ public static function buildColumnDefinition(): array
287287
$values["check('value > 5')"][0] = 'integer CHECK (`col_59` > 5)';
288288
$values["comment('comment')"][0] = 'varchar(255) /* comment */';
289289
$values['integer()->primaryKey()'][0] = 'integer PRIMARY KEY NOT NULL';
290+
$values['string()->primaryKey()'][0] = 'varchar(255) PRIMARY KEY NOT NULL';
290291
$values['unsigned()'][0] = 'integer';
291292

292293
return $values;

0 commit comments

Comments
 (0)
Please sign in to comment.