migrations

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package migrations owns ContentKit's PostgreSQL and ClickHouse migrations.

Index

Constants

This section is empty.

Variables

View Source
var ClickHouse fs.FS = mustSubFS("clickhouse")

ClickHouse installs the signal-plane tables in the selected database.

View Source
var Postgres fs.FS = mustSubFS("postgres")

Postgres installs ContentKit's tables in its own schema.

Functions

func ApplyPostgres added in v0.14.0

func ApplyPostgres(ctx context.Context, db *sql.DB, schema string) error

ApplyPostgres applies ContentKit's migrations in its schema under its ledger identity and migration lock (contentkit.New calls it).

Types

This section is empty.

Jump to

Keyboard shortcuts

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