diff --git a/initdb.py b/initdb.py index 80c9fa952..ce51c1749 100644 --- a/initdb.py +++ b/initdb.py @@ -5,7 +5,6 @@ import random import calendar import os -from sys import maxsize from datetime import datetime, timedelta from peewee import (SqliteDatabase, create_model_tables, drop_model_tables, savepoint_sqlite, savepoint) @@ -97,7 +96,7 @@ def __create_subtree(repo, structure, creator_username, parent, tag_map): store.put_content('local_us', path, checksum) new_image.security_indexed = False - new_image.security_indexed_engine = maxsize + new_image.security_indexed_engine = -1 new_image.save() creation_time = REFERENCE_DATE + timedelta(weeks=image_num) + timedelta(days=model_num)