mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
dedf5582c1
* first chunk of clickhouse framework * prod, not dev docker-compose.yml * add clickhouse sql files
14 lines
360 B
Python
14 lines
360 B
Python
from infi.clickhouse_orm import migrations
|
|
|
|
from ee.clickhouse.sql.events import (
|
|
EVENTS_WITH_PROPS_TABLE_SQL,
|
|
MAT_EVENT_PROP_TABLE_SQL,
|
|
MAT_EVENTS_WITH_PROPS_TABLE_SQL,
|
|
)
|
|
|
|
operations = [
|
|
migrations.RunSQL(EVENTS_WITH_PROPS_TABLE_SQL),
|
|
migrations.RunSQL(MAT_EVENTS_WITH_PROPS_TABLE_SQL),
|
|
migrations.RunSQL(MAT_EVENT_PROP_TABLE_SQL),
|
|
]
|