Offer page: Display whether offer is set to automatically accept bids or not

This commit is contained in:
cryptoguard
2025-03-26 15:52:32 -04:00
parent 65cf6789a7
commit c9ef7bec44
6 changed files with 41 additions and 8 deletions

View File

@@ -425,6 +425,9 @@ def upgradeDatabase(self, db_version):
last_updated INTEGER,
PRIMARY KEY (record_id))"""
)
elif current_version == 26:
db_version += 1
cursor.execute("ALTER TABLE offers ADD COLUMN auto_accept_type INTEGER")
if current_version != db_version:
self.db_version = db_version
self.setIntKV("db_version", db_version, cursor)