From 7936234e8c5592d1b70fa1a1a61c2b853ab41992 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 1 Oct 2026 16:07:36 +0200 Subject: [PATCH] docs: require PostgreSQL 15 or newer (verified on postgres:15) The database suites (lagoon, lagoon/attach, cabana, beachcomber, lighthouse, bouncer, conga, docs/examples/blog) pass against postgres:15 from a HEAD export with the test image retargeted. --- README.md | 4 ++-- docs/setup/installation.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59ae7f0..c7a810c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ SummerCMS is a content management framework for Go, inspired by WinterCMS. An ap ## Requirements - Go 1.27. -- PostgreSQL 16 for any application that uses the data layer ([lagoon](modules/lagoon/README.md)). +- PostgreSQL 15 or newer for any application that uses the data layer ([lagoon](modules/lagoon/README.md)). - Node.js 22.6 or newer, only when working on the admin SPA in `admin/`. - Docker, only for the integration tests that start PostgreSQL or Mailpit containers through testcontainers-go. @@ -32,7 +32,7 @@ summer build # generates plugins.gen.go and main.go, writes bin/hello The `migrate`, `migrate:status`, `migrate:rollback`, `serve` and admin commands open PostgreSQL, so they need more configuration. Configuration comes from YAML files in `config/`, and any key can be overridden with a `SUMMER_`-prefixed environment variable in which a double underscore separates path segments (see [compass](modules/compass/README.md)): -1. Create a PostgreSQL 16 database: +1. Create a database on PostgreSQL 15 or newer: ```sql CREATE DATABASE hello; diff --git a/docs/setup/installation.md b/docs/setup/installation.md index d43d94b..bc9438c 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -11,7 +11,7 @@ SummerCMS is a Go module. An application requires it, lists its plugins in a `su ## Requirements - Go 1.27. -- PostgreSQL 16 for any application that uses the data layer. +- PostgreSQL 15 or newer for any application that uses the data layer. - Docker, only for the integration tests that start PostgreSQL or Mailpit containers. You do not need Node.js to build an application or these docs. It is needed only when you work on the admin SPA itself.