Expand KOC LOOP MCP operations
This commit is contained in:
12
db/schema.ts
12
db/schema.ts
@@ -220,3 +220,15 @@ export const authSessions = sqliteTable(
|
||||
index("auth_sessions_expires_at_idx").on(table.expiresAt),
|
||||
],
|
||||
);
|
||||
|
||||
export const mcpExportTokens = sqliteTable(
|
||||
"mcp_export_tokens",
|
||||
{
|
||||
tokenHash: text("token_hash").primaryKey(),
|
||||
kind: text("kind").notNull(),
|
||||
payload: text("payload").notNull(),
|
||||
expiresAt: text("expires_at").notNull(),
|
||||
createdAt: text("created_at").notNull().default(sql`CURRENT_TIMESTAMP`),
|
||||
},
|
||||
(table) => [index("mcp_export_tokens_expires_at_idx").on(table.expiresAt)],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user