Add flag to DB by default.

This commit is contained in:
Arun Prakash Jana 2016-12-20 23:34:43 +05:30
parent ec65ba9295
commit 91479f7474
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -418,7 +418,7 @@ class BukuDb:
cur.execute('CREATE TABLE if not exists bookmarks \
(id integer PRIMARY KEY, URL text NOT NULL UNIQUE, \
metadata text default \'\', tags text default \',\', \
desc text default \'\')')
desc text default \'\', flags integer default 0)')
conn.commit()
except Exception as e:
logerr('initdb(): %s', e)