We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ColumnBuilder::string()->primaryKey()
1 parent 8de1111 commit f9976c4Copy full SHA for f9976c4
tests/Provider/QueryBuilderProvider.php
@@ -1678,6 +1678,7 @@ public static function buildColumnDefinition(): array
1678
'notNull()' => ['varchar(255) NOT NULL', ColumnBuilder::string()->notNull()],
1679
'null()' => ['varchar(255) NULL', ColumnBuilder::string()->null()],
1680
'integer()->primaryKey()' => ['integer PRIMARY KEY', ColumnBuilder::integer()->primaryKey()],
1681
+ 'string()->primaryKey()' => ['varchar(255) PRIMARY KEY', ColumnBuilder::string()->primaryKey()],
1682
'size(10)' => ['varchar(10)', ColumnBuilder::string()->size(10)],
1683
'unique()' => ['varchar(255) UNIQUE', ColumnBuilder::string()->unique()],
1684
'unsigned()' => ['integer UNSIGNED', ColumnBuilder::integer()->unsigned()],
0 commit comments