feat(db): add project personas and skills tables
CI / build-and-test (push) Failing after 1m52s

* Introduce project_personas table with foreign keys to projects and agent_personas
* Add project_skills table with foreign key to projects and agent_skills
* Include override boolean field in agent_persona_skills and project_skills
* Update schema and migration files to reflect new tables and fields
* Enhance CORS handling to reflect request origin
This commit is contained in:
2026-07-04 23:45:51 +02:00
parent 1adf50e3db
commit c179e014ad
69 changed files with 1329 additions and 184 deletions
+3 -1
View File
@@ -44,13 +44,15 @@ mkdir -p "${out_dir}"
--from-list "${schema_list}" \
--to bun \
--to-path "${out_dir}" \
--package generatedmodels
--package generatedmodels \
--types resolvespec
"${relspec_bin}" templ \
--from dbml \
--from-list "${schema_list}" \
--template "${resolve_spec_template}" \
--output "${resolve_spec_models_file}"
# relspec currently emits a few files with unused fmt imports; strip only when fmt is unused.
for file in "${out_dir}"/*.go; do