migrations

package
v0.58.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 7 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