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.
This commit is contained in:
Jakub Zych
2026-10-01 16:07:36 +02:00
parent 130b6ac38f
commit 7936234e8c
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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.