You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
519 B

  1. create table predict_passes(
  2. sat_name text not null,
  3. pass_start timestamp primary key default (strftime('%s', 'now')) not null,
  4. pass_end timestamp default (strftime('%s', 'now')) not null,
  5. max_elev int not null,
  6. is_active boolean);
  7. CREATE TABLE decoded_passes(
  8. id integer primary key autoincrement,
  9. pass_start integer,
  10. file_path text not null,
  11. daylight_pass boolean, is_noaa boolean, sat_type integer, img_count integer,
  12. foreign key(pass_start) references passes(pass_start));