S
Size: a a a
S
ИИ
drwxrwsr-x 5 root zookeeper 4096 Dec 10 2019 .
drwxr-xr-x 1 root root 4096 Oct 27 2017 ..
drwxrwsr-x 4 zookeeper zookeeper 4096 May 19 21:26 data
drwxrwsr-x 3 zookeeper zookeeper 4096 Dec 10 2019 log
drwxrws--- 2 root zookeeper 16384 Dec 10 2019 lost+found
S
drwxrwsr-x 5 root zookeeper 4096 Dec 10 2019 .
drwxr-xr-x 1 root root 4096 Oct 27 2017 ..
drwxrwsr-x 4 zookeeper zookeeper 4096 May 19 21:26 data
drwxrwsr-x 3 zookeeper zookeeper 4096 Dec 10 2019 log
drwxrws--- 2 root zookeeper 16384 Dec 10 2019 lost+found
ИИ
EV
drwxrwsr-x 5 root zookeeper 4096 Dec 10 2019 .
drwxr-xr-x 1 root root 4096 Oct 27 2017 ..
drwxrwsr-x 4 zookeeper zookeeper 4096 May 19 21:26 data
drwxrwsr-x 3 zookeeper zookeeper 4096 Dec 10 2019 log
drwxrws--- 2 root zookeeper 16384 Dec 10 2019 lost+found
ИИ
ИИ
AP
R
AZ
R
AZ
AZ
R
from django.conf import settings
from django.core.management.base import BaseCommand
from infi.clickhouse_orm.database import Database
class Command(BaseCommand):
def handle(self, *args, **options):
db = Database(
settings.CLICKHOUSE_DB,
db_url="http://{}:8123/".format(settings.CLICKHOUSE_HOST),
username=settings.CLICKHOUSE_USER,
password=settings.CLICKHOUSE_PASSWORD
)
db.migrate('users.users_migrations')
db.migrate('events.events_migrations')
AP
v
R
AR
VM
VM