Skip to content

Commit

Permalink
Improve column schema classes (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov authored Nov 16, 2024
1 parent 7a74430 commit 989e887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Provider/QueryBuilderProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static function buildColumnDefinition(): array
$values["comment('comment')"][0] = "varchar(255) COMMENT 'comment'";
$values["comment('')"][0] = "varchar(255) COMMENT ''";
$values['integer()->primaryKey()'][0] = 'int PRIMARY KEY';
$values["integer()->defaultValue('')"][0] = 'int';
$values["integer()->defaultValue('')"][0] = 'int DEFAULT NULL';
$values['unsigned()'][0] = 'int UNSIGNED';
$values['integer(8)->scale(2)'][0] = 'int(8)';
$values['reference($reference)'][0] = 'int REFERENCES `ref_table` (`id`) ON DELETE CASCADE ON UPDATE CASCADE';
Expand Down

0 comments on commit 989e887

Please sign in to comment.