Commit Graph

1 Commits

Author SHA1 Message Date
Víctor Falcón c541dfc104 feat(spaces): add Space model, schema and backfill foundation
Introduce the multi-tenant Space concept without changing any behaviour yet:
every user gets an invisible personal space provisioned on creation, and all
owned models (accounts, connections, transactions, categories, labels, budgets,
automation rules, saved filters) gain a nullable space_id stamped via a
BelongsToSpace trait. An idempotent, chunked spaces:backfill command (run from a
migration) stamps existing rows so space-scoped reads can go live safely.
2026-07-06 16:32:41 +02:00