Database Design

Database Design documents how AeThex data should be modeled, related, secured, and evolved across the platform.

Design goals

Data models should support identity, organizations, projects, permissions, and auditability.

AeThex data should be designed around durable platform concepts instead of temporary UI screens. The core model starts with users and identities, then expands into organizations, teams, projects, permissions, integrations, and operational records.

Core entities

Design rules

  1. Prefer stable IDs over display names.
  2. Track ownership and organization context explicitly.
  3. Keep permission checks close to protected data.
  4. Store audit fields for important state changes.
  5. Version schemas and migrations with clear rollback notes.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9