diff --git a/utilities/database_upgrader.py b/utilities/database_upgrader.py index 2f20bb3..6c2108b 100644 --- a/utilities/database_upgrader.py +++ b/utilities/database_upgrader.py @@ -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