Help us shape the future of Go! Take the 2026 Go Developer Survey

migrations

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 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 all content, keyword and taxonomy tables in one host 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 schema under its ledger identity. The schema may also hold the host's tables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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