migrations

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package migrations exposes the canonical control-plane bootstrap DDL as an embedded string, so Go callers (the fleet orchestrator's per-app database bootstrap) apply THE file — not a drifting copy. docker-compose.yml still inlines it for the clone-free quickstart; this embed and that inline both mirror 001_control_plane.sql (the single source of truth).

Index

Constants

This section is empty.

Variables

View Source
var ControlPlane string

ControlPlane is 001_control_plane.sql verbatim: public.tenants, public.tenant_policies, public.migration_log and the schema_updated NOTIFY trigger. Idempotent (IF NOT EXISTS / OR REPLACE) — safe to apply on every boot of a fresh or existing database.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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