feat: cv verifier

This commit is contained in:
Alexander Daichendt 2025-01-01 14:00:05 +01:00
parent 4dd699f08c
commit 194b4b0808
24 changed files with 2199 additions and 70 deletions

15
src/db/schema.ts Normal file
View file

@ -0,0 +1,15 @@
import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
export const cvTable = sqliteTable("cv", {
uuid: text("uuid").primaryKey(),
company_name: text("company_name").notNull(),
created: integer("created", {
mode: "timestamp_ms",
}),
author: text("author").notNull(),
purpose: text("purpose").notNull(),
tooling: text("tooling").notNull(),
status: text("status", {
enum: ["active", "revoked"],
}).default("active"),
});