0.0.3Updated 3 hours ago
import { field, type Infer, type Schema } from "../modules/schema.ts";

export const QuestionTranslationSchema = {
  question_id: field('integer'),
  language_id: field('integer'),
  text: field('text'),
  deleted_at: field('timestamp', { nullable: true })
} satisfies Schema;

export type QuestionTranslationType = Infer<typeof QuestionTranslationSchema>