Skip to content

Migrations for schema changes #2297

Closed
Closed

Description

@cflee

I've noticed that there have been a few recent schema changes (#1963 #2071 #2125 #2128) that modified the existing tables' CREATE statements in the migration files. This leads to these changes not being applied onto Clickhouse instances where the tables already exist.

Is this intended behaviour? It seems difficult for us to detect these missed changes, which could be problematic later if there are new migration files that require those changes to already be made, as those migrations would then fail and the container would crashloop.

Activity

  1. pulpdrew commented on May 18, 2026

    @pulpdrew
    Contributor

    Hey @cflee, good question. Yes this is intended behavior for now. The migrations are not expected to run on existing deployments at this time. We are working on functionality for communicating changes to our recommended schemas and associated migrations on existing deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions