Switch back to just using uuids for marketplace icons, can't convert properly

This commit is contained in:
2026-01-24 13:32:12 -07:00
parent 06a3e983ca
commit a759758bad
6 changed files with 24 additions and 46 deletions

View File

@@ -126,13 +126,16 @@ export const berryDashChatroomReports = mysqlTable('chatroom_reports', {
})
export const berryDashMarketplaceIcons = mysqlTable('marketplaceicons', {
id: bigint('id', { mode: 'number' }).primaryKey().autoincrement().notNull(),
uuid: varchar('uuid', { length: 36 }).notNull(),
id: varchar('id', { length: 36 }).notNull(),
userId: bigint('userId', { mode: 'number' }).notNull(),
data: longtext('data').notNull(),
hash: varchar('hash', { length: 128 }).notNull(),
timestamp: bigint('timestamp', { mode: 'number' }).notNull(),
state: tinyint('state').default(0).notNull(),
price: bigint('price', { mode: 'number' }).default(0).notNull(),
name: text('name').notNull()
name: text('name').notNull(),
place: bigint('place', { mode: 'number' })
.primaryKey()
.autoincrement()
.notNull()
})