change boolean fields in schema from Bit(1) to Boolean

This commit is contained in:
2025-04-19 01:40:13 +02:00
parent 20f29d88fa
commit 2bdbef8f8a
9 changed files with 44 additions and 45 deletions
+2 -2
View File
@@ -330,8 +330,8 @@ class KontorDB:
media_file.last_modified_date = datetime.now()
media_file.version = 0
media_file.url = link
media_file.review = 1
media_file.should_download = 1
media_file.review = True
media_file.should_download = True
try:
session.add(media_file)
session.commit()