A package is now a set of immutable versions with declared grants and a default version that installations run unless they pin another. Adopting a version is what accepts its grants, replacing the per-extension lifecycle actions with version, pin and update-policy commands.
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.