Skip to content

Commit

Permalink
Test ColumnBuilder::string()->primaryKey() (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov authored Jan 8, 2025
1 parent 79b33b3 commit 5764c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Provider/QueryBuilderProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public static function buildColumnDefinition(): array
$values["check('value > 5')"][0] = 'integer CHECK (`col_59` > 5)';
$values["comment('comment')"][0] = 'varchar(255) /* comment */';
$values['integer()->primaryKey()'][0] = 'integer PRIMARY KEY NOT NULL';
$values['string()->primaryKey()'][0] = 'varchar(255) PRIMARY KEY NOT NULL';
$values['unsigned()'][0] = 'integer';

return $values;
Expand Down

0 comments on commit 5764c5f

Please sign in to comment.