chore add core rust project files and diesel migrations

Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
This commit is contained in:
2026-04-23 17:20:01 +08:00
parent c843fecbce
commit 44c320d8fa
392 changed files with 11786 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# htyts — 本地 task 库名需与 Postgres 中实际库一致(可先 createdb)
TS_DATABASE_URL=postgres://htyws@localhost/htytask_local
DATABASE_URL=postgres://htyws@localhost/htytask_local
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
POOL_SIZE=20
REDIS_HOST=localhost
REDIS_PORT=6379
TS_DOMAIN=ts.localhost
HTYUC_URL=http://127.0.0.1:3000
HTYKC_URL=http://127.0.0.1:3002
TS_PORT=3003
TOKEN_VERIFY=true
AUTH_CHECKING=true
EXP_DAYS=1
ZOMBIE_MIN=30
LOGGER_LEVEL=debug