Re-add uuid, useless but required for 1.8.2 and lower

This commit is contained in:
2025-12-17 18:19:20 -07:00
parent 58a51530e7
commit 6b89bfd258
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/ -- https://www.phpmyadmin.net/
-- --
-- Host: localhost -- Host: localhost
-- Generation Time: Dec 17, 2025 at 11:36 PM -- Generation Time: Dec 18, 2025 at 01:18 AM
-- Server version: 12.1.2-MariaDB -- Server version: 12.1.2-MariaDB
-- PHP Version: 8.5.1 -- PHP Version: 8.5.1
@@ -57,6 +57,7 @@ CREATE TABLE `chats` (
CREATE TABLE `marketplaceicons` ( CREATE TABLE `marketplaceicons` (
`id` int(11) NOT NULL, `id` int(11) NOT NULL,
`uuid` varchar(36) NOT NULL,
`userId` int(11) NOT NULL, `userId` int(11) NOT NULL,
`data` longtext NOT NULL, `data` longtext NOT NULL,
`hash` varchar(128) NOT NULL, `hash` varchar(128) NOT NULL,

View File

@@ -99,6 +99,7 @@ export const berryDashChatroomReports = mysqlTable('chatroom_reports', {
export const berryDashMarketplaceIcons = mysqlTable('marketplaceicons', { export const berryDashMarketplaceIcons = mysqlTable('marketplaceicons', {
id: int('id').primaryKey().autoincrement().notNull(), id: int('id').primaryKey().autoincrement().notNull(),
uuid: varchar('uuid', { length: 36 }).notNull(),
userId: int('userId').notNull(), userId: int('userId').notNull(),
data: longtext('data').notNull(), data: longtext('data').notNull(),
hash: varchar('hash', { length: 128 }).notNull(), hash: varchar('hash', { length: 128 }).notNull(),