mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Add guesses in video db schema
This commit is contained in:
		
							parent
							
								
									d6cae5ace1
								
							
						
					
					
						commit
						02ebb6b3f6
					
				@ -2,6 +2,7 @@ import { sql } from "drizzle-orm";
 | 
				
			|||||||
import {
 | 
					import {
 | 
				
			||||||
	check,
 | 
						check,
 | 
				
			||||||
	integer,
 | 
						integer,
 | 
				
			||||||
 | 
						jsonb,
 | 
				
			||||||
	text,
 | 
						text,
 | 
				
			||||||
	timestamp,
 | 
						timestamp,
 | 
				
			||||||
	uuid,
 | 
						uuid,
 | 
				
			||||||
@ -19,6 +20,7 @@ export const videos = schema.table(
 | 
				
			|||||||
		rendering: text().notNull(),
 | 
							rendering: text().notNull(),
 | 
				
			||||||
		part: integer(),
 | 
							part: integer(),
 | 
				
			||||||
		version: integer().notNull().default(1),
 | 
							version: integer().notNull().default(1),
 | 
				
			||||||
 | 
							guess: jsonb().notNull().default({}),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		createdAt: timestamp({ withTimezone: true }).notNull().defaultNow(),
 | 
							createdAt: timestamp({ withTimezone: true }).notNull().defaultNow(),
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user