From bfa8949a6a7938586bdd4db9003d85ac0dea588a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 17 Aug 2018 01:22:11 +0300 Subject: [PATCH] Feat(DB): Add column `is_image` --- xsetbg_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xsetbg_db.py b/xsetbg_db.py index 35840cc..406ca96 100755 --- a/xsetbg_db.py +++ b/xsetbg_db.py @@ -18,9 +18,11 @@ class XSetBg(SQLObject): full_name = UnicodeCol(alternateID=True) last_shown = IntCol(default=None) # timestamp flag = BoolCol(default=None) + is_image = BoolCol(default=None) last_shown_idx = DatabaseIndex('last_shown') flag_idx = DatabaseIndex('flag') + is_image_idx = DatabaseIndex('is_image') def recreate_db(): -- 2.39.5