IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33720 for trunk/ippTools/share


Ignore:
Timestamp:
Apr 5, 2012, 1:00:05 PM (14 years ago)
Author:
bills
Message:

Add table skycell to the database and the program
sctool (skycelltool but easier to type)

Location:
trunk/ippTools/share
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pxadmin_create_tables.sql

    r33119 r33720  
    21272127) ENGINE=innodb DEFAULT CHARSET=latin1;
    21282128
     2129CREATE TABLE skycell (
     2130    tess_id     VARCHAR(64),
     2131    skycell_id  VARCHAR(64),
     2132    radeg       float,
     2133    decdeg      float,
     2134    glong       float,
     2135    glat        float,
     2136    width       float,
     2137    height      float,
     2138    PRIMARY KEY (tess_id, skycell_id),
     2139    KEY(radeg),
     2140    KEY(decdeg),
     2141    KEY(glong),
     2142    KEY(glat)
     2143) ENGINE=InnoDB DEFAULT CHARSET=latin1;
     2144
    21292145
    21302146-- This comment line is here to avoid empty query error.
  • trunk/ippTools/share/pxadmin_drop_tables.sql

    r32960 r33720  
    108108DROP TABLE IF EXISTS skycalRun;
    109109DROP TABLE IF EXISTS skycalResult;
     110DROP TABLE IF EXISTS skycell;
    110111
    111112SET FOREIGN_KEY_CHECKS=1
Note: See TracChangeset for help on using the changeset viewer.