1
CREATE TEMPORARY TABLE backup
7
INSERT INTO backup SELECT uri, title, date FROM history;
9
CREATE TABLE history (uri text, title text, date integer, day integer);
10
INSERT INTO history SELECT uri, title, date,
11
julianday(date(date,'unixepoch','start of day','+1 day'))
12
- julianday('0001-01-01','start of day')