aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-17 13:54:54 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-17 13:54:54 -0700
commit71632a23f51025a17b3edf19979b2b40d46a2631 (patch)
tree35dc535df80daeab42ea62297c48550fc229b4c4 /youtube
parentd80a8b1c3f691b2cc488a6995035a1aef8590d46 (diff)
downloadyt-local-71632a23f51025a17b3edf19979b2b40d46a2631.tar.lz
yt-local-71632a23f51025a17b3edf19979b2b40d46a2631.tar.xz
yt-local-71632a23f51025a17b3edf19979b2b40d46a2631.zip
Subscriptions: Add watched column in database for future feature
Diffstat (limited to 'youtube')
-rw-r--r--youtube/subscriptions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py
index 93767b7..5f17ee6 100644
--- a/youtube/subscriptions.py
+++ b/youtube/subscriptions.py
@@ -51,7 +51,8 @@ def open_database():
duration text,
time_published integer NOT NULL,
is_time_published_exact integer DEFAULT 0,
- description text
+ description text,
+ watched integer default 0
)''')
cursor.execute('''CREATE TABLE IF NOT EXISTS tag_associations (
id integer PRIMARY KEY,