31c4f08451671cb64e3f745a41adb8bde22d6ef4
Regressao do schema-per-tenant: o trigger de auditoria deriva tenant_id via tenant_id_for_schema(TG_TABLE_SCHEMA), que retorna NULL para public.* (ex.: tenant_members) -> violava audit_logs.tenant_id NOT NULL -> QUALQUER novo membership (provisionamento, aceite de convite) falhava. Fix: quando o schema nao resolve tenant, cai no tenant_id da propria linha; se ainda NULL, nao audita mas nunca quebra a operacao. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sakai is an application template for Vue based on the create-vue, the recommended way to start a Vite-powered Vue projects.
Visit the documentation to get started.
Description
Languages
Vue
61.1%
PLpgSQL
17.8%
JavaScript
15.9%
HTML
2.6%
TypeScript
2.3%
Other
0.3%