You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2bcad43
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): G2a's indexes.fields help text states the refusal #20479 added
Since object-field-ref-unknown judges indexes[].fields, publishing and
os validate refuse an index column that names no field of the object; a
draft save (the schema parse) still does not check. A real field that is
not a stored column (a formula) is still skipped whole by the SQL driver
with a warning. The help text, its comment and its four catalogue
leaves now say exactly that.
Claude-Session: https://claude.ai/code/session_01ARcDurZ5j34RdqsGgc4jgH
Co-authored-by: Claude <noreply@anthropic.com>
helpText: "Column names of this object, in key order (e.g. status, owner). Nothing checks them when you save or publish: a name that is not a stored column makes the SQL driver skip the whole index, with a warning in the server log."
330
+
helpText: "Column names of this object, in key order (e.g. status, owner). Saving does not check them; publishing and os validate refuse a name that is not a field of this object. A field that is not a stored column (a formula, say) makes the SQL driver skip the whole index, with a warning in the server log."
helpText: "Nombres de columna de este objeto, en el orden de la clave (p. ej., status, owner). Nada los comprueba al guardar ni al publicar: un nombre que no sea una columna almacenada hace que el driver SQL omita el índice entero, con una advertencia en el registro del servidor."
330
+
helpText: "Nombres de columna de este objeto, en el orden de la clave (p. ej., status, owner). Guardar no los comprueba; publicar y os validate rechazan un nombre que no sea un campo de este objeto. Un campo que no sea una columna almacenada (una fórmula, por ejemplo) hace que el driver SQL omita el índice entero, con una advertencia en el registro del servidor."
helpText: 'Database indexes on this object\'s table. The SQL driver creates each one the table lacks when it syncs the table; a sync never drops an index.',
527
529
fields: [
528
530
{field: 'name',label: 'Name',type: 'text',helpText: 'Physical index name. Unset: generated from the table and the columns (e.g. idx_task_status).'},
529
-
{field: 'fields',label: 'Fields',widget: 'string-tags',required: true,helpText: 'Column names of this object, in key order (e.g. status, owner). Nothing checks them when you save or publish: a name that is not a stored column makes the SQL driver skip the whole index, with a warning in the server log.'},
531
+
{field: 'fields',label: 'Fields',widget: 'string-tags',required: true,helpText: 'Column names of this object, in key order (e.g. status, owner). Saving does not check them; publishing and os validate refuse a name that is not a field of this object. A field that is not a stored column (a formula, say) makes the SQL driver skip the whole index, with a warning in the server log.'},
530
532
{field: 'unique',label: 'Unique',type: 'select',helpText: 'Uniqueness scope (ADR-0120). Unset: not unique. The deprecated bare true (it means global) is not offered; an index that carries it keeps it until you pick a scope.',options: [
531
533
{label: 'Global — one holder across the installation, over exactly these columns',value: 'global'},
532
534
{label: 'Organization — one holder per organization (the driver prepends the organization column)',value: 'organization'},
0 commit comments