Skip to main content
The full database schema was not present in this docs repo. Use source, migrations, and docs/codebase-map.json before editing database logic.

Known data concepts

Safe edit rules

  • Preserve org_id on workspace data.
  • Preserve foreign key relationships.
  • Preserve RLS policies.
  • Migrate data before removing fields.
  • Keep API payload fields backward compatible.

Before changing tables

  1. Read migrations.
  2. Search all reads and writes for the table.
  3. Confirm RLS policy impact.
  4. Add migration and rollback plan.
  5. Update docs after source changes.