Use select_column.
This commit is contained in:
parent
11706cc1c7
commit
87e53f85b8
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Migrator:
|
|||
self.photodb = photodb
|
||||
|
||||
query = 'SELECT name FROM sqlite_master WHERE type == "table"'
|
||||
table_names = list(self.photodb.select(query))
|
||||
table_names = list(self.photodb.select_column(query))
|
||||
self.tables = {name: {} for name in table_names}
|
||||
|
||||
# The user may be adding entirely new tables derived from the data of
|
||||
|
|
Loading…
Reference in a new issue