Skip to content
Snippets Groups Projects
Commit 9de23afc authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fix vacuum

parent 7acae348
No related branches found
No related tags found
No related merge requests found
from datetime import datetime from datetime import datetime
from typing import List, Set from typing import List, Set
from sqlalchemy import and_ from sqlalchemy import and_, text
from sqlalchemy.orm import Session from sqlalchemy.orm import Session
from Settings import SETTINGS from Settings import SETTINGS
...@@ -185,7 +185,7 @@ def get_total_number_of_measurements(db: Session) -> List[int]: ...@@ -185,7 +185,7 @@ def get_total_number_of_measurements(db: Session) -> List[int]:
def perform_vacuum(db: Session): def perform_vacuum(db: Session):
db.execute('VACUUM') db.execute(text('VACUUM'))
def __get_current_datetime(): def __get_current_datetime():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment