foundation

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package foundation carries the schema the notify module's tables need.

One migration, creating the five notification tables. It is the one set with a dependency outside its own module: an inbox line names an account, so rig_notification_recipient references rig_account, which github.com/simonjanss/rig/auth/foundation's tenancy migration creates. That set has to be applied first, and a project with notifications and no authentication still needs it — which is why auth/foundation imports nothing but the standard library, so reaching it costs the SQL and none of rig/auth's code.

Not sessions, though. Reading your own inbox needs claims, and where those come from is not this schema's business.

The set is append-only — see github.com/simonjanss/rig/runtime/dbschema for what that means and why.

Index

Constants

View Source
const Table = "rig_notify_migrations"

Table is where this set records how far it has been applied. Its own table, so that notify can be released without agreeing a migration number with auth or files.

Variables

This section is empty.

Functions

func Set

func Set() dbschema.Set

Set is the notify module's migrations, in the order they apply.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL