Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(database): list automation among the data-owned entity globs

Yudhi Armyndharis09cbc2eb115c
diff --git a/src/database/data-source.ts b/src/database/data-source.ts
index f4864dca8..aafcd11a6 100644
--- a/src/database/data-source.ts
+++ b/src/database/data-source.ts
@@ -40,8 +40,8 @@ if (pgSchemaError) {
const sourceGlob = (...segments: string[]): string => path.join(__dirname, ...segments).replace(/\\/g, '/');
-// Scoped to the DATA-owned modules only (session/webhook/message/template/engine/integration/status-store), mirroring
-// the runtime data connection (app.module.ts). A broad '**' glob would also sweep in the main-owned
+// Scoped to the DATA-owned modules only (session/webhook/message/template/engine/integration/status-store/automation),
+// mirroring the runtime data connection (app.module.ts). A broad '**' glob would also sweep in the main-owned
// auth/audit entities and pollute `migration:generate` against the data DB with their DDL.
const dataEntities = [
sourceGlob('..', 'modules', 'session', '**', '*.entity{.ts,.js}'),