create table predict_passes( sat_name text not null, pass_start timestamp primary key default (strftime('%s', 'now')) not null, pass_end timestamp default (strftime('%s', 'now')) not null, max_elev int not null); CREATE TABLE decoded_passes( id integer primary key autoincrement, pass_start integer, file_path text not null, daylight_pass boolean, is_noaa boolean, foreign key(pass_start) references passes(pass_start));