TGS
API
tgs-010
TGS10 — Flexible attributes system
TGS10 introduces a flexible attributes system that allows profiles, products and assets to have type-specific properties without requiring schema changes. The system keeps The Grid structured while providing the flexibility needed to scale attributes at any point.
The attributes system consists of core tables that follow The Grid's existing patterns.
- Added
attributesAttribute values: id, rootId, value, attributeTypeId, tableId, rowId. - Added
attributeTypesAttribute classification enum: id, name, slug, definition. - Added
allowedAttributeTypesConstrains which attribute types are valid per table: id, attributeTypeId, tableId, enumTableId, enumRowId. - Added
enumTableNamesRegistry of enum tables: id, tableName.
- All existing tables remain unchanged
- All existing queries continue to work
- Attributes are purely additive
- Applications can adopt gradually