django-clickhouse/tests/clickhouse_migrations/0001_initial.py
M1ha d4e9a705d1 1) Refactoring
2) Bug fixes
3) Simple tests on syncing MergeTree and CollapsingMergeTree
2018-11-16 15:16:36 +05:00

12 lines
339 B
Python

from infi.clickhouse_orm.migrations import CreateTable
from django_clickhouse import migrations
from tests.clickhouse_models import ClickHouseTestModel, ClickHouseCollapseTestModel
class Migration(migrations.Migration):
operations = [
CreateTable(ClickHouseTestModel),
CreateTable(ClickHouseCollapseTestModel)
]