diff --git a/database.sql b/database.sql index d34cfa6..0010b10 100644 --- a/database.sql +++ b/database.sql @@ -3,7 +3,7 @@ -- https://www.phpmyadmin.net/ -- -- Host: localhost --- Generation Time: Nov 04, 2025 at 02:33 AM +-- Generation Time: Nov 04, 2025 at 02:35 AM -- Server version: 12.0.2-MariaDB -- PHP Version: 8.4.14 @@ -49,7 +49,7 @@ CREATE TABLE `launcherupdates` ( `platforms` text NOT NULL, `hidden` tinyint(1) NOT NULL DEFAULT 1, `place` int(11) NOT NULL DEFAULT 0, - `sha512sums` text NOT NULL + `sha512sums` text NOT NULL DEFAULT '[]' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=COMPRESSED; -- -------------------------------------------------------- diff --git a/src/lib/tables.ts b/src/lib/tables.ts index 9c7d7fe..52d5966 100644 --- a/src/lib/tables.ts +++ b/src/lib/tables.ts @@ -30,5 +30,5 @@ export const launcherUpdates = mysqlTable('launcherupdates', { executables: text('executables').notNull(), hidden: boolean('hidden').notNull().default(true), place: int('place').notNull().default(0), - sha512sums: text('sha512sums').notNull() + sha512sums: text('sha512sums').notNull().default("[]") })