docs: add a name mnemonic to every module README and the root modules table
This commit is contained in:
@@ -6,6 +6,8 @@ Postgres data layer: the shared GORM connection, per-plugin migrations, model he
|
||||
|
||||
`import "git.golem15.com/golem15/summercms/modules/lagoon/attach"`
|
||||
|
||||
**Name:** Calm, deep water where everything settles; it is the database layer where data is stored.
|
||||
|
||||
## Overview
|
||||
|
||||
`lagoon` is the WinterCMS models and migrations counterpart: it opens the one `*sql.DB` pool (pgx stdlib driver) that GORM and the rest of the application share, runs each plugin's gormigrate set in its own history table, and ports the Eloquent model conventions that WinterCMS plugins rely on, such as `$fillable`, `$hidden`, `$jsonable`, encrypted casts and Laravel-style validation rules. Its `attach` subpackage ports WinterCMS's `system_files` attachments, storing originals and lazily generated thumbnails in a gocloud.dev blob bucket. The application binary gets the migrate and key commands from `lagoon.RuntimeCommands`.
|
||||
|
||||
Reference in New Issue
Block a user