mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
Update clickhouse_migrate.py
Fixed error in manage.py clickhouse_migrate
This commit is contained in:
parent
2beb449b67
commit
01cec7c999
|
@ -23,7 +23,7 @@ class Command(BaseCommand):
|
||||||
' By default all available migrations are applied.'
|
' By default all available migrations are applied.'
|
||||||
' Note that library currently have no ability rollback migrations')
|
' Note that library currently have no ability rollback migrations')
|
||||||
|
|
||||||
parser.add_argument('--database', '-d', nargs='?', type=str, required=False, choices=config.DATABASES.keys(),
|
parser.add_argument('--database', '-d', nargs='?', type=str, required=False, choices=list(config.DATABASES.keys()),
|
||||||
help='ClickHouse database alias key from CLICKHOUSE_DATABASES django setting.'
|
help='ClickHouse database alias key from CLICKHOUSE_DATABASES django setting.'
|
||||||
' By default migrations are applied to all databases.')
|
' By default migrations are applied to all databases.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user