summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-07-21 14:39:14 +0300
committerAndrew Dolgov <[email protected]>2017-07-21 14:39:14 +0300
commit55f2b0090a9f711cfa383b0d3b3253c9431b93e9 (patch)
treed87f1cbccbc066d264922518e631189227397693 /schema.sql
parentee4c7c44adabd057014b3c62cf16c6c4947ecc1a (diff)
add basic favorites via a horrible hack
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
index 1cd0971..00e62ea 100644
--- a/schema.sql
+++ b/schema.sql
@@ -28,4 +28,10 @@ create table epube_sessions (
data text,
expire integer not null);
+create table epube_favorites(
+ id integer not null primary key autoincrement,
+ bookid integer not null,
+ owner varchar(200) not null);
+
+
create index epube_sessions_expire on epube_sessions(expire);