We value your privacy

This site uses cookies to improve your browsing experience, analyze site traffic, and show personalized content. See our Privacy Policy.

  1. MooseStack
  2. Configuration
  3. Migration Configuration

Migration Configuration

Control how Moose handles database migrations and schema changes.

moose.config.toml
[migration_config]# Operations to ignore during migration plan generation and drift detection# ignore_operations = ["ModifyTableTtl", "ModifyColumnTtl", "ModifyPartitionBy", "IgnoreStringLowCardinalityDifferences"]
KeyEnv VariableDefaultDescription
ignore_operationsMOOSE_MIGRATION_CONFIG__IGNORE_OPERATIONS[]List of migration operations to ignore during plan generation.

Available Operations

OperationDescription
ModifyTableTtlIgnore changes to table-level TTL settings.
ModifyColumnTtlIgnore changes to column-level TTL settings.
ModifyPartitionByIgnore changes to partition key expressions.
IgnoreStringLowCardinalityDifferencesTreat LowCardinality(String) and String as equivalent during schema comparison. Useful when ClickHouse automatically applies LowCardinality to string columns.

On this page

Available Operations
Edit this page
FiveonefourFiveonefour
Fiveonefour Docs
MooseStackHostingTemplatesGuides
Release Notes
Source540
  • Overview
Build a New App
  • 5 Minute Quickstart
  • Browse Templates
  • Existing ClickHouse
Add to Existing App
  • Next.js
  • Fastify
Fundamentals
  • Moose Runtime
  • MooseDev MCP
  • Language Server
  • Data Modeling
Moose Modules
  • Moose OLAP
  • Moose Streaming
  • Moose Workflows
  • Moose APIs & Web Apps
Deployment & Lifecycle
  • Moose Dev
  • Moose Migrate
  • Moose Deploy
Reference
  • API Reference
  • Query Layer
  • Data Types
  • Table Engines
  • CLI
  • Configuration
    • Core Settings
    • Project Settings
    • TypeScript
    • Telemetry
    • Git
    • Features
    • Migrations
    • Docker
    • Infrastructure
    • ClickHouse
    • Redpanda
    • Redis
    • Temporal
    • HTTP Server
    • State Storage
    • Security
    • JWT
    • Admin API
    • Development
    • Dev Environment
  • Observability Metrics
  • Help
  • Release Notes
Contribution
  • Documentation
  • Framework