mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(db): fix docstring
This commit is contained in:
parent
72c9a7663f
commit
b3f92e0547
@ -283,7 +283,7 @@ class SQLiteMigrator:
|
||||
raise MigrationError(msg) from e
|
||||
|
||||
def _get_current_version(self, cursor: sqlite3.Cursor) -> int:
|
||||
"""Gets the current version of the database, or 0 if the version table does not exist."""
|
||||
"""Gets the current version of the database, or 0 if the migrations table does not exist."""
|
||||
with self._lock:
|
||||
try:
|
||||
cursor.execute("SELECT MAX(version) FROM migrations;")
|
||||
|
Loading…
Reference in New Issue
Block a user