Browse Source

Fix DB\Sqlite

Visman 3 years ago
parent
commit
474dd4d439
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Core/DB/Sqlite.php

+ 3 - 3
app/Core/DB/Sqlite.php

@@ -46,9 +46,9 @@ class Sqlite
      * @var array
      */
     protected $types = [
-        'INTEGER' => 'i',
-        'REAL'    => 'i',
-        'NUMERIC' => 'i',
+        'integer' => 'i',
+        'real'    => 'i',
+        'numeric' => 'i',
     ];
 
     public function __construct(DB $db, string $prefix)