mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
80d20e385b
* Clickhouse use elements chain * Fix stuff * Add action tests and start regex * Progress * Progress part deux * Fix everything * Add tag name filtering * Fix funnels * Fix tag name regex * Fix ordering * Fix type issues * Fix empty nth-child * Remove commented code * Split with semicolon and escaped quotes * Specify all select columns
23 lines
803 B
Python
23 lines
803 B
Python
from infi.clickhouse_orm import migrations # type: ignore
|
|
|
|
from ee.clickhouse.sql.events import EVENTS_TABLE_MV_SQL, KAFKA_EVENTS_TABLE_SQL
|
|
from ee.clickhouse.sql.person import (
|
|
KAFKA_OMNI_PERSONS_TABLE_SQL,
|
|
KAFKA_PERSONS_DISTINCT_ID_TABLE_SQL,
|
|
KAFKA_PERSONS_TABLE_SQL,
|
|
OMNI_PERSONS_TABLE_MV_SQL,
|
|
PERSONS_DISTINCT_ID_TABLE_MV_SQL,
|
|
PERSONS_TABLE_MV_SQL,
|
|
)
|
|
|
|
operations = [
|
|
migrations.RunSQL(KAFKA_EVENTS_TABLE_SQL),
|
|
migrations.RunSQL(KAFKA_PERSONS_TABLE_SQL),
|
|
migrations.RunSQL(KAFKA_OMNI_PERSONS_TABLE_SQL),
|
|
migrations.RunSQL(KAFKA_PERSONS_DISTINCT_ID_TABLE_SQL),
|
|
migrations.RunSQL(EVENTS_TABLE_MV_SQL),
|
|
migrations.RunSQL(PERSONS_TABLE_MV_SQL),
|
|
migrations.RunSQL(OMNI_PERSONS_TABLE_MV_SQL),
|
|
migrations.RunSQL(PERSONS_DISTINCT_ID_TABLE_MV_SQL),
|
|
]
|