Add support for github host
This commit is contained in:
3 files changed
+18
-13
No files matched your search
+2
-1
@@ -95,11 +95,12 @@ export const resetCodes = mysqlTable('resetcodes', {
|
||||
type: int('type').notNull()
|
||||
})
|
||||
|
||||
export const cdnFiles = mysqlTable('cdnfiles', {
|
||||
export const files = mysqlTable('files', {
|
||||
id: bigint('id', { mode: 'number' }).primaryKey().autoincrement().notNull(),
|
||||
path: varchar('path', { length: 4096 }).notNull(),
|
||||
hash: char('hash', { length: 128 }).notNull(),
|
||||
size: bigint('size', { mode: 'number' }).notNull(),
|
||||
host: int('size').notNull().default(0),
|
||||
mimeType: varchar('mimeType', { length: 255 })
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user