Module migrations

Module migrations 

Source
Expand description

Database migration registry and version tracking for relational schemas.

Modules§

m2026_06_30_1_create_users
Database migration creating the initial users and tenancy tables.
m2026_06_30_2_create_nodes
Database migration creating graph node tables and relations.
m2026_06_30_3_checksum
Database migration adding checksum columns to stored blobs and nodes.
m2026_06_30_4_id_u128_blob
Database migration migrating IDs to 128-bit representations.
m2026_07_01_1_consolidate_users
Database migration consolidating user roles and credential tables.
m2026_07_02_1_add_user_subscription
Database migration adding user subscription and billing columns.
m2026_07_05_1_add_client_sync_tables
Database migration creating client-side synchronization log tables.
m2026_07_05_2_create_server_sync_tables
Database migration creating server-side synchronization state tables.
m2026_07_05_3_add_user_remote_status
Database migration adding remote sync status tracking for users.
m2026_08_06_1_add_node_timestamp
Database migration adding timestamp columns to graph nodes.
m2026_10_24_1_migrate_nodes_to_dctf
Database migration transcoding stored Statements and System node bodies from legacy DcUtf (f89) to DcTF (f641) and recomputing SHA-256 checksums.

Structs§

Migration
Represents a database schema migration.

Enums§

DbSchemaType
Identifies the schema type of a database to determine which migrations to apply.

Statics§

NODES_MIGRATIONS
Registry of migrations for nodes (user_data) databases.
SYNC_MIGRATIONS
Registry of migrations for the sync database.
USERS_MIGRATIONS
Registry of migrations for the global users database.

Functions§

run_migrations
Run all pending migrations for the specified database connection and schema type.