This commit is contained in:
2025-05-09 14:01:19 +02:00
parent 69f3c2bc4b
commit 9c36d1801d
6 changed files with 188 additions and 0 deletions

View File

@@ -124,3 +124,16 @@ export const verificationTokens = pgTable(
}),
(t) => [primaryKey({ columns: [t.identifier, t.token] })]
)
export const releases = pgTable('mod_release', {
id: integer('id').primaryKey().generatedByDefaultAsIdentity(),
name: text('name').notNull(),
description: text('description'),
version: text('version').notNull(),
url: text('url').notNull(),
createdAt: timestamp('created_at').notNull().defaultNow(),
updatedAt: timestamp('updated_at')
.notNull()
.defaultNow()
.$onUpdate(() => new Date()),
})