Skip to content

Commit f9976c4

Browse files
authored
Test ColumnBuilder::string()->primaryKey() (#916)
1 parent 8de1111 commit f9976c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Provider/QueryBuilderProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,6 +1678,7 @@ public static function buildColumnDefinition(): array
16781678
'notNull()' => ['varchar(255) NOT NULL', ColumnBuilder::string()->notNull()],
16791679
'null()' => ['varchar(255) NULL', ColumnBuilder::string()->null()],
16801680
'integer()->primaryKey()' => ['integer PRIMARY KEY', ColumnBuilder::integer()->primaryKey()],
1681+
'string()->primaryKey()' => ['varchar(255) PRIMARY KEY', ColumnBuilder::string()->primaryKey()],
16811682
'size(10)' => ['varchar(10)', ColumnBuilder::string()->size(10)],
16821683
'unique()' => ['varchar(255) UNIQUE', ColumnBuilder::string()->unique()],
16831684
'unsigned()' => ['integer UNSIGNED', ColumnBuilder::integer()->unsigned()],

0 commit comments

Comments
 (0)