mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-10-14 18:51:56 +00:00
Add TODO in migration scripts
This commit is contained in:
@@ -17,6 +17,7 @@ depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# TODO: Add error handling for sqlalchemy.exc.ProgrammingError
|
||||
for user in User.query.all():
|
||||
old_tesseract_ocr_pipeline_model_path = os.path.join(user.path, 'tesseract_ocr_models')
|
||||
new_tesseract_ocr_pipeline_model_path = os.path.join(user.path, 'tesseract_ocr_pipeline_models')
|
||||
|
Reference in New Issue
Block a user