优化站内发件无需第三方

This commit is contained in:
eoao
2026-02-07 20:02:01 +08:00
parent 3ea917a572
commit 5da6b44ad6
12 changed files with 238 additions and 193 deletions

View File

@@ -1,7 +1,7 @@
import { sqliteTable, integer, text } from 'drizzle-orm/sqlite-core';
import { sql } from 'drizzle-orm';
export const att = sqliteTable('attachments', {
export const att = sqliteTable('attachments', {
attId: integer('att_id').primaryKey({ autoIncrement: true }),
userId: integer('user_id').notNull(),
emailId: integer('email_id').notNull(),