mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Fix: datasource refresh schemas was broken
This commit is contained in:
parent
13252bb0af
commit
bd29bdbb2e
@ -236,7 +236,7 @@ def refresh_schemas():
|
||||
Refreshs the datasources schema.
|
||||
"""
|
||||
|
||||
for ds in models.DataSource.all():
|
||||
for ds in models.DataSource.select():
|
||||
logger.info("Refreshing schema for: {}".format(ds.name))
|
||||
ds.get_schema(refresh=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user