Skip to content

Commit 909d8a5

Browse files
Add VAR_BIGINT to Database class attribute types
- Included VAR_BIGINT in the list of attribute types in the Database class. - Ensured consistency in handling BIGINT attributes across the database implementation.
1 parent 07358a5 commit 909d8a5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Database/Database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2609,6 +2609,7 @@ protected function validateDefaultTypes(string $type, mixed $default): void
26092609
self::VAR_MEDIUMTEXT,
26102610
self::VAR_LONGTEXT,
26112611
self::VAR_INTEGER,
2612+
self::VAR_BIGINT,
26122613
self::VAR_FLOAT,
26132614
self::VAR_BOOLEAN,
26142615
self::VAR_DATETIME,
@@ -2977,6 +2978,7 @@ public function updateAttribute(string $collection, string $id, ?string $type =
29772978
self::VAR_MEDIUMTEXT,
29782979
self::VAR_LONGTEXT,
29792980
self::VAR_INTEGER,
2981+
self::VAR_BIGINT,
29802982
self::VAR_FLOAT,
29812983
self::VAR_BOOLEAN,
29822984
self::VAR_DATETIME,

0 commit comments

Comments
 (0)