PostgreSQL: Difference between revisions

imported>Colinsane
clarify that `services.postgresql.package` is fixed based on `system.stateVersion`
imported>Colinsane
m s/trigger and automatic migrations/trigger any automatic migrations/
Line 119: Line 119:
</syntaxhighlight>
</syntaxhighlight>


Note that changing the package version does not trigger and automatic migrations of your existing databases: if you update Postgres you should be ready to migrate any existing databases manually.
Note that changing the package version does not trigger any automatic migrations of your existing databases: if you update Postgres you should be ready to migrate any existing databases manually.


* [https://search.nixos.org/packages?query=postgresql_ Available Nixpkgs Postgresql versions]
* [https://search.nixos.org/packages?query=postgresql_ Available Nixpkgs Postgresql versions]