storeschema

package
v0.3.0-beta.21 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package storeschema owns deterministic sqlc and Atlas generation for Compozy stores.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAtlas

func CheckAtlas(ctx context.Context, root string) error

CheckAtlas validates checksums and proves every migration stream matches its declarative schema.

func CheckSQLC

func CheckSQLC(ctx context.Context, root string) (err error)

CheckSQLC regenerates into a temporary tree and rejects generated-code or import-ownership drift.

func GenerateAtlas

func GenerateAtlas(ctx context.Context, root string) error

GenerateAtlas writes a sequential migration for each changed declarative schema and refreshes checksums.

func GenerateSQLC

func GenerateSQLC(ctx context.Context, root string) error

GenerateSQLC regenerates every store query package with the pinned Go tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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