mirror of
https://github.com/hanzoai/datastore-orm.git
synced 2026-09-30 21:40:30 +00:00
Merge pull request #9 from PostHog/fix-replicated-migration-table
Base `MigrationHistoryReplicated` path on database and table names
This commit is contained in:
@@ -298,7 +298,7 @@ class MigrationHistoryReplicated(Model):
|
||||
engine = MergeTree(
|
||||
"applied",
|
||||
("package_name", "module_name"),
|
||||
replica_table_path="/clickhouse/prod/tables/noshard/posthog.infi_clickhouse_orm_migrations",
|
||||
replica_table_path="/clickhouse/prod/tables/noshard/{database}/{table}",
|
||||
replica_name="{replica}-{shard}",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user