django-clickhouse/tests/models.py

19 lines
451 B
Python
Raw Normal View History

2018-11-12 18:20:46 +03:00
"""
This file contains sample models to use in tests
"""
from django.db import models
from django_clickhouse.models import ClickHouseSyncModel
class TestModel(ClickHouseSyncModel):
value = models.IntegerField()
created_date = models.DateField()
created = models.DateTimeField()
2019-01-09 13:14:53 +03:00
class SecondaryTestModel(ClickHouseSyncModel):
2019-01-09 13:14:53 +03:00
value = models.IntegerField()
created_date = models.DateField()
created = models.DateTimeField()