Add guesses in video db schema

This commit is contained in:
Zoe Roux 2024-11-15 18:03:42 +01:00
parent d6cae5ace1
commit 02ebb6b3f6
No known key found for this signature in database

View File

@ -2,6 +2,7 @@ import { sql } from "drizzle-orm";
import {
check,
integer,
jsonb,
text,
timestamp,
uuid,
@ -19,6 +20,7 @@ export const videos = schema.table(
rendering: text().notNull(),
part: integer(),
version: integer().notNull().default(1),
guess: jsonb().notNull().default({}),
createdAt: timestamp({ withTimezone: true }).notNull().defaultNow(),
},