init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS contributes (
id TEXT PRIMARY KEY,
auth_id BIGINT,
kb_id TEXT NOT NULL,
status TEXT NOT NULL,
type TEXT NOT NULL,
node_id TEXT,
name TEXT,
content TEXT NOT NULL,
reason TEXT NOT NULL,
audit_user_id TEXT NOT NULL,
meta JSONB,
audit_time TIMESTAMP,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);