Skip to content

Commit

Permalink
Test ColumnBuilder::string()->primaryKey() (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov authored Jan 8, 2025
1 parent 8de1111 commit f9976c4
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 @@ -1678,6 +1678,7 @@ public static function buildColumnDefinition(): array
'notNull()' => ['varchar(255) NOT NULL', ColumnBuilder::string()->notNull()],
'null()' => ['varchar(255) NULL', ColumnBuilder::string()->null()],
'integer()->primaryKey()' => ['integer PRIMARY KEY', ColumnBuilder::integer()->primaryKey()],
'string()->primaryKey()' => ['varchar(255) PRIMARY KEY', ColumnBuilder::string()->primaryKey()],
'size(10)' => ['varchar(10)', ColumnBuilder::string()->size(10)],
'unique()' => ['varchar(255) UNIQUE', ColumnBuilder::string()->unique()],
'unsigned()' => ['integer UNSIGNED', ColumnBuilder::integer()->unsigned()],
Expand Down

0 comments on commit f9976c4

Please sign in to comment.