migrations

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package migrations embeds ContentKit's migratekit lineages: the keyword Postgres profile, the pre-ContentKit combined Postgres lineage that converges on it, the taxonomy and social Postgres lineages, and the ClickHouse signal plane.

Index

Constants

This section is empty.

Variables

View Source
var LegacyPostgres fs.FS = mustSubFS(legacyFS, "legacy")

LegacyPostgres is the pre-ContentKit combined lineage (searchkit app id). Installations created from it keep applying it: its final migration converges on the keyword profile schema and drops the embedding tables. Export those tables before applying it (docs/migration.md). Never use it for a new installation.

View Source
var Postgres fs.FS = mustSubFS(keywordFS, "keyword")

Postgres is the keyword profile: the only Postgres search lineage for new installations. It requires pg_trgm and PGroonga and no vector extension. Apply it under its own migratekit app id, scoped to the keyword schema.

View Source
var SignalClickHouse fs.FS = mustSubFS(signalClickHouseFS, "clickhouse/signal")

SignalClickHouse is the signal-plane ClickHouse lineage. Apply it with migratekit chmigrate to the dedicated signal database (see signal.CreateDatabase) under its own app identity; check compatibility at startup with signal.CheckSchema.

View Source
var Social fs.FS = mustSubFS(socialFS, "social")

Social is the interaction lineage (social_* tables) applied into the host schema under content.MigratekitApp; every file carries a parent link.

View Source
var Taxonomy fs.FS = mustSubFS(taxonomyFS, "taxonomy")

Taxonomy is the catalog lineage (content_nodes, content_node_names, content_edges, content_assignments, content_node_counts). Apply it under its own migratekit app id (contentkit_taxonomy) into the same host schema after the keyword profile, which it depends on.

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