diff options
author | Andrew Dolgov <[email protected]> | 2017-02-25 08:51:08 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-25 08:51:08 +0300 |
commit | b4fb29e00346ec78065e875ab318885810524a22 (patch) | |
tree | 40950c1cce12b39e81488d5e09a63c82bc6a4e8b /schema.sql | |
parent | abe6ca80782474e266961e49077ee566c22a0a91 (diff) |
switch to integer book ids
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2,20 +2,20 @@ drop table if exists epube_settings; drop table if exists epube_pagination; drop table if exists epube_books; -create table epube_settings( - id serial not null primary key, - owner varchar(200) not null unique, - font_size integer not null, - font_family varchar(200) not null, - line_height integer not null); +--create table epube_settings( +-- id serial not null primary key, +-- owner varchar(200) not null unique, +-- font_size integer not null, +-- font_family varchar(200) not null, +-- line_height integer not null); create table epube_pagination( id serial not null primary key, - bookid varchar(200) not null, + bookid integer not null, pagination text not null); create table epube_books( id serial not null primary key, - bookid varchar(200) not null, + bookid integer not null, owner varchar(200) not null, lastread integer not null); |