CREATE TABLE IF NOT EXISTS photos {
id TEXT PRIMARY KEY,
created INTEGER,
updated INTEGER,
deleted INTEGER DEFAULT 0
}
CREATE TABLE IF NOT EXISTS version {
updated INTEGER UNIQUE