Fix list snapshot
This commit is contained in:
@@ -166,7 +166,7 @@ def execute_redo(name: str) -> ChangeSet:
|
||||
|
||||
|
||||
def list_snapshot(name: str) -> list[tuple[int, str]]:
|
||||
rows = read_all(name, f'select * from operation order by id')
|
||||
rows = read_all(name, f'select * from snapshot_operation order by id')
|
||||
result = []
|
||||
for row in rows:
|
||||
result.append((int(row['id']), str(row['tag'])))
|
||||
|
||||
Reference in New Issue
Block a user