mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 05:19:23 +00:00
wip
This commit is contained in:
@@ -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()),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user