From 5764c5f85ce1bb10b7971d090bb57658fb5e6bb2 Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Wed, 8 Jan 2025 16:32:14 +0700 Subject: [PATCH] Test `ColumnBuilder::string()->primaryKey()` (#333) --- tests/Provider/QueryBuilderProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Provider/QueryBuilderProvider.php b/tests/Provider/QueryBuilderProvider.php index 1a007ecc..92fc755e 100644 --- a/tests/Provider/QueryBuilderProvider.php +++ b/tests/Provider/QueryBuilderProvider.php @@ -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;