/api/client/[id]/key, /api/mek/share Endpoint 추가

This commit is contained in:
static
2024-12-31 17:41:54 +09:00
parent 0d00e2476a
commit ccad4fbd8b
8 changed files with 187 additions and 57 deletions

View File

@@ -4,7 +4,7 @@ import { user } from "./user";
export const client = sqliteTable(
"client",
{
id: integer("id").primaryKey(),
id: integer("id").primaryKey({ autoIncrement: true }),
encPubKey: text("encryption_public_key").notNull().unique(), // Base64
sigPubKey: text("signature_public_key").notNull().unique(), // Base64
},