IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 26 and Version 27 of ippToPsps_Database


Ignore:
Timestamp:
Apr 10, 2012, 1:07:38 PM (14 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps_Database

    v26 v27  
    8080
    8181=== The {{{box}}} table ===
     82
     83When queuing, the sky is split into equally sized boxes, the size of which is determined in the config in use. The {{{box}}} tables lists the RA/Dec centers of each box, as well as the box size, for each config that currently has items queued.
     84
     85
     86{{{
     87+---------------------+-------+--------+-----------+------------+----------+
     88| timestamp           | id    | config | ra_center | dec_center | box_side |
     89+---------------------+-------+--------+-----------+------------+----------+
     90| 2012-04-03 16:47:35 | 41879 | new3pi |         2 |        -28 |        4 |
     91| 2012-04-03 16:47:35 | 41880 | new3pi |         2 |        -24 |        4 |
     92| 2012-04-03 16:47:35 | 41881 | new3pi |         2 |        -20 |        4 |
     93| 2012-04-03 16:47:35 | 41882 | new3pi |         2 |        -16 |        4 |
     94| 2012-04-03 16:47:35 | 41883 | new3pi |         2 |        -12 |        4 |
     95| 2012-04-03 16:47:35 | 41884 | new3pi |         2 |         -8 |        4 |
     96| 2012-04-03 16:47:35 | 41885 | new3pi |         2 |         -4 |        4 |
     97| 2012-04-03 16:47:35 | 41886 | new3pi |         2 |          0 |        4 |
     98| 2012-04-03 16:47:35 | 41887 | new3pi |         2 |          4 |        4 |
     99| 2012-04-03 16:47:35 | 41888 | new3pi |         2 |          8 |        4 |
     100| 2012-04-03 16:47:35 | 41889 | new3pi |         2 |         12 |        4 |
     101etc
     102}}}
     103
     104The {{{config}}} column has a foreign key constraint with {{{name}}} from the {{{config}}} table. This means if a particular config is deleted from the {{{config}}} table then all related entries here in the {{{box}}} table will also be removed automatically.
     105
     106The {{{id}}} column is unique and is acts as a foreign key for the {{{pending}}} table, i.e. removal of a box here will remove all related entries in the pending table.
    82107=== The {{{stripe}}} table ===
    83108