Files
archie/internal/platform/pg/migrations
sam f24c2b4455 feat(connectors): separate packages from scoped installations (#2027)
Packages are accepted once by the instance. Installations configure them at the instance, an organisation or a person; bindings and credentials resolve the person's, then their organisation's, then the instance's. Decisions, approval requests and held chat actions record the installation and scope that acted.

The dashboard lists packages separately from installations, shows every installation's scope, and creates, edits and disables installations at their scope.
2026-11-24 03:05:27 +11:00
..

Migrations

One ordered series for the whole binary, applied once at boot by the owner role under an advisory lock. Each module's schema starts from one baseline file, NNNNN_<module>.sql. Until the first release, change a module's schema by editing its baseline and recreating the database. After the first release, add a file named NNNNN_<module>_<change>.sql and never edit one that has shipped.