Commit Graph

1 Commits

Author SHA1 Message Date
Rdmclin2 22d64ca104 ✨ feat(database): add resource transfer requests schema and migration (#18348)
* ✨ feat(database): add resource transfer requests schema and migration

* ♻️ refactor(database): move transfer enums to @lobechat/types and drop schema-level enum typing

* 📝 docs(skill): add schema conventions (no pg enums for growing domains, no const exports from schemas) to db-migrations

* 🐛 fix(database): preserve transfer audit rows when actors are deleted (set null instead of cascade)

* 🐛 fix(database): exclude null-recipient rows from the pending-transfer unique index

* 📝 docs(skill): scope the schema-constant rule to domain literals in new/modified schemas
2026-08-16 11:39:52 +08:00