Data · rule
data.duplicate_rule
Unique rule or index repeats another.
Area 5, Data; not declinable; the next step is usually the agent's.
The same two fields in another order are the same rule:
entity Account { id: Uuid tenant: Text handle: Text unique: { tenant_handle: [tenant, handle] handle_tenant: [handle, tenant] }}
error: The unique rule `handle_tenant` repeats `tenant_handle` --> main.jadpo:8:9 |7 | tenant_handle: [tenant, handle] | ------------- first here8 | handle_tenant: [handle, tenant] | ^^^^^^^^^^^^^ same fields reason: Both cover the same fields, in whatever order, so they are one rule; a write's conflict names one of them (area 6). next: Remove `handle_tenant` (agent) rule: data.duplicate_rule help: https://jadpo.dev/docs/errors/data.duplicate_rulecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/data.duplicate_rule.md.Built from Jadpo main at a707efb.