mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-25 10:33:47 +03:00
19 lines
451 B
Python
19 lines
451 B
Python
"""
|
|
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()
|
|
|
|
|
|
class SecondaryTestModel(ClickHouseSyncModel):
|
|
value = models.IntegerField()
|
|
created_date = models.DateField()
|
|
created = models.DateTimeField()
|