0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/ee/clickhouse/migrations/0007_static_cohorts_table.py
Karl-Aksel Puulmann ba405c823c
Add snapshot tests for clickhouse table schemas (#7572)
* Add a comment to keep topics in sync

* Clean up code relating to table engines

* Add snapshots for table creation queries

* Remove optional import

* Add snapshot tests for CLICKHOUSE_REPLICATION schemas

Note that these are out of sync with cloud in most cases

* Add another warning comment

* Improve naming
2021-12-08 16:07:34 +02:00

8 lines
187 B
Python

from infi.clickhouse_orm import migrations
from ee.clickhouse.sql.person import PERSON_STATIC_COHORT_TABLE_SQL
operations = [
migrations.RunSQL(PERSON_STATIC_COHORT_TABLE_SQL()),
]