File tree Expand file tree Collapse file tree
resources/skills/phalconkit-app-developer/references Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,8 +212,8 @@ core interfaces.
212212Runtime toggles can disable parent audit rows or detail rows for imports,
213213migrations, or hot paths. Keep such toggles local to the operation.
214214
215- Audit is opt-in by default. Applications that install and use the audit tables
216- should enable audit in the model ` blameable ` options:
215+ Audit is disabled by default. Applications that want audit rows should opt in,
216+ usually through the model ` blameable ` options:
217217
218218``` php
219219[
@@ -227,6 +227,10 @@ Applications that do not install audit tables can omit this option. If audit is
227227enabled while the audit tables are absent, PhalconKit treats the missing audit
228228storage as an optional feature and skips the audit write.
229229
230+ If an application provides a custom Blameable behavior subclass, it can instead
231+ change the protected ` $auditEnabled ` default. Explicit ` auditEnabled ` options
232+ always override subclass defaults.
233+
230234Audit detail rows remain enabled when audit is enabled. Disable detail rows with
231235` auditDetailEnabled => false ` .
232236
You can’t perform that action at this time.
0 commit comments