Skip to content

Commit

Permalink
Add ClickHouse migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgray committed Nov 28, 2024
1 parent 0204d4a commit 2ed487a
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from posthog.batch_exports.sql import (
CREATE_PERSONS_BATCH_EXPORT_VIEW,
CREATE_PERSONS_BATCH_EXPORT_VIEW_BACKFILL,
)
from posthog.clickhouse.client.migration_tools import run_sql_with_exceptions

operations = map(
run_sql_with_exceptions,
[
CREATE_PERSONS_BATCH_EXPORT_VIEW,
CREATE_PERSONS_BATCH_EXPORT_VIEW_BACKFILL,
],
)

0 comments on commit 2ed487a

Please sign in to comment.