CREATE TABLE image ( time TEXT NOT NULL, did TEXT NOT NULL, local_file TEXT NOT NULL, size INTEGER NOT NULL, final_file TEXT NOT NULL, url TEXT NOT NULL ); CREATE INDEX image_date ON image(time); CREATE INDEX image_did ON image(did); CREATE INDEX image_finalFile ON image(final_file);