feat: cv verifier
This commit is contained in:
parent
4dd699f08c
commit
194b4b0808
24 changed files with 2199 additions and 70 deletions
15
src/db/schema.ts
Normal file
15
src/db/schema.ts
Normal 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"),
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue