Changelog
    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.

    • AddedattributesAttribute values: id, rootId, value, attributeTypeId, tableId, rowId.
    • AddedattributeTypesAttribute classification enum: id, name, slug, definition.
    • AddedallowedAttributeTypesConstrains which attribute types are valid per table: id, attributeTypeId, tableId, enumTableId, enumRowId.
    • AddedenumTableNamesRegistry of enum tables: id, tableName.
    • All existing tables remain unchanged
    • All existing queries continue to work
    • Attributes are purely additive
    • Applications can adopt gradually