CREATE SCHEMA IF NOT EXISTS `pyros` DEFAULT CHARACTER SET utf8 |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
user_id | INT | Yes | |||
scientificprogram_id | INT | Yes | |||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
is_alert | BOOLEAN | No | 0 | 0 = routine 1 = alert | |
type | ENUM('alert', 'routine', 'svom TOO', 'svom GP') | No | |||
status | ENUM('INCOMPLETE', 'SUBMITTED', 'PLANNED', 'EXECUTING', 'EXECUTED') | No | |||
target_or_theme | VARCHAR(45) | No | |||
priority | INT | No | |||
autodeposit | BOOLEAN | No | =1 si automatic =0 si manual (web) | ||
checkpoint | VARCHAR(45) | No | |||
flag | VARCHAR(45) | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_request_user | Non-Identifying | user | request | 1:n |
fk_request_scientificprogram | Non-Identifying | scientificprogram | request | 1:n |
fk_sequence_request | Non-Identifying | request | sequence | 1:n |
fk_reqalert_requests1 | Non-Identifying | request | alert | 1:1 |
A complete observation (set of sequences) Includes at least one sequence and meets following criteria: • Observation of the same target or eventually a set of coherent targets or a specific field for calibration • The sequences of a request are not executed contiguously in time • Any observation demand is defined as one or several Requests • The observer is the request owner |
CREATE TABLE IF NOT EXISTS `pyros`.`request` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
sequence_id | INT | Yes | |||
detector_id | INT | Yes | |||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_album_sequence | Non-Identifying | sequence | album | 1:n |
fk_album_detector | Non-Identifying | detector | album | 1:n |
fk_plan_album | Non-Identifying | album | plan | 1:n |
Series of Plans belonging to a Sequence and observed with the same detector |
CREATE TABLE IF NOT EXISTS `pyros`.`album` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
album_id | INT | Yes | |||
filter_id | INT | Yes | |||
name | VARCHAR(45) | No | |||
desc | VARCHAR(45) | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
duration | FLOAT | No | |||
position | VARCHAR(45) | No | |||
exposure_time | FLOAT | No | |||
nb_images | INT | No | |||
dithering | BOOLEAN | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_plan_album | Non-Identifying | album | plan | 1:n |
fk_plan_filter | Non-Identifying | filter | plan | 1:n |
fk_image_plan | Non-Identifying | plan | image | 1:n |
Acquisition of a series of images by one of the instruments of the focal plane with the same features: • Same filter for all the duration of a Plan • Same exposure time • Number of images defined • Same mode Dithering/ or not for NIR instrument |
CREATE TABLE IF NOT EXISTS `pyros`.`plan` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
request_id | INT | Yes | |||
sequencetype_id | INT | Yes | |||
schedule_id | INT | Yes | |||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
is_alert | BOOLEAN | No | |||
status | ENUM('INCOMPLETE', 'SUBMITTED', 'TOBEPLANNED', 'OBSERVABLE', 'PLANNED', 'EXECUTING', 'EXECUTED') | No | |||
duration | FLOAT | No | 20 mn max (mmss) | ||
pointing | VARCHAR(45) | No | |||
with_drift | BOOLEAN | No | |||
priority | INT | No | u_priotity + r_priority | ||
analysis_method | VARCHAR(45) | No | |||
exec_start | DATETIME | Yes | if exec_start_datetime only, then sequence must start at a precise date and time if exec_stop_datetime is not null, then sequence must start between a time slot [exec_start_datetime, exec_stop_datetime] | ||
exec_stop | DATETIME | No | |||
moon_min | INT | No | angle de garde à la lune | ||
alt_min | INT | No | angle de garde par rapport à l'horizon | ||
type | ENUM('image', 'alerte', 'dark', 'bias', 'flat') | No | Image, alerte; dark,Bias, flat | ||
img_current | VARCHAR(45) | No | |||
img_total | VARCHAR(45) | No | |||
not_obs | BOOLEAN | No | |||
obsolete | BOOLEAN | No | |||
processing | BOOLEAN | No | |||
flag | VARCHAR(45) | No | flag de synchro |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_sequence_sequencetype | Non-Identifying | sequencetype | sequence | 1:n |
fk_sequence_request | Non-Identifying | request | sequence | 1:n |
fk_sequence_schedule | Non-Identifying | schedule | sequence | 1:n |
fk_album_sequence | Non-Identifying | sequence | album | 1:n |
fk_schedules_has_sequences_sequences1 | Non-Identifying | sequence | schedule_has_sequences | 1:n |
Collection of Albums, and thus of Plans with the following features: • Same pointing with or without drift • The sequence is endowed with a priority; its execution will be conditioned by the planning of other sequences with more priority; during execution, the sequence can be interrupted every time to give way to a higher priority sequence • The observations are carried out with one or two cameras • The length of a sequence is variable and cannot exceed 20 minutes (TBC) • The sequence can include parameters that indicate which method must be used to analyze data (RT or remote) • For each sequence the observer defines an execution date and time. It is a time slot or a precise time for starting the observation • The sequence ends synchronously for all involved instruments. • The sequence includes several Albums, one per detector • The owner of the sequence is a heritage of the Request owner |
CREATE TABLE IF NOT EXISTS `pyros`.`sequence` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
plan_id | INT | Yes | |||
nrtanalysis_id | INT | No | |||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
date_from_gps | VARCHAR(45) | No | =1 : heure donnée par le GPS,=0 heure donnée par le PC | ||
level | INT | No | 0 = level 0 1 = level 1a (+ corrections) 2 = level 1b (+ analysis) | ||
type | ENUM('image', 'dark', 'flat', 'bias') | No | |||
quality | VARCHAR(45) | No | |||
flaggps | VARCHAR(45) | No | |||
exposure | VARCHAR(45) | No | |||
tempext | VARCHAR(45) | No | |||
pressure | VARCHAR(45) | No | |||
humidext | VARCHAR(45) | No | |||
wind | VARCHAR(45) | No | |||
wind_dir | VARCHAR(45) | No | |||
dwnimg | VARCHAR(45) | No | |||
dwncata | VARCHAR(45) | No | |||
dwn | VARCHAR(45) | No | |||
level0_fits_name | VARCHAR(45) | No | name of FITS image level 0 on disk | ||
level1a_fits_name | VARCHAR(45) | No | name of FITS image level 1a on disk (after corrections) | ||
level1b_fits_name | VARCHAR(45) | No | name of FITS image level 1b on disk (after analysis) |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_image_plan | Non-Identifying | plan | image | 1:n |
fk_image_nrtanalysis | Non-Identifying | nrtanalysis | image | 1:n |
Basis component. Its acquisition can be interrupted by an interruption of sequence but it must be saved before quitting |
CREATE TABLE IF NOT EXISTS `pyros`.`image` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
request_id | INT | Yes | |||
strategyobs_id | INT | Yes | |||
voevent_xml | LONGTEXT | No | |||
type | VARCHAR(45) | No | alert type | ||
client | VARCHAR(45) | No | |||
burst_jd | VARCHAR(45) | No | |||
burst_ra | VARCHAR(45) | No | Right ascension (deg) | ||
burst_dec | VARCHAR(45) | No | declinaison (deg) | ||
equinox | VARCHAR(45) | No | |||
jd_pkt | INT | No | JD of packet creation by GCN | ||
jd_send | INT | No | JD of packet send by GCN | ||
jd_received | INT | No | JD of packet received | ||
trigger_instrum | VARCHAR(45) | No | |||
trigger_num | VARCHAR(45) | No | |||
grb_error | VARCHAR(45) | No | error box (arcmin) | ||
def_not_grb | BOOLEAN | No | =1 if not GRB | ||
editor | VARCHAR(45) | No | client that sent the notice | ||
flag | VARCHAR(45) | No | Flag de synchro | ||
idgcn_notice | INT | No | identifiant notice |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_reqalert_requests1 | Non-Identifying | request | alert | 1:1 |
fk_alertrequests_strategyobs1 | Non-Identifying | strategyobs | alert | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`alert` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
created | DATETIME | No | |||
day_start | DATETIME | No | |||
day_stop | DATETIME | No | |||
flag | VARCHAR(45) | No | flag de synchro |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_schedules_has_sequences_schedules1 | Non-Identifying | schedulehistory | schedule_has_sequences | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`schedulehistory` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
device_id | INT | Yes | |||
mount_type | ENUM('slewing', 'observing') | No | equ or altaz | ||
diameter | FLOAT | No | aperture diameter (m) | ||
status | VARCHAR(45) | No | |||
latitude | DOUBLE | No | (deg) | ||
longitude | DOUBLE | No | (deg) | ||
sens | VARCHAR(1) | No | E ou W | ||
altitude | FLOAT | No | (m) | ||
readout_time | INT | No | controler read out (s) | ||
slew_time | INT | No | tipical delay for pointing (s) | ||
slew_dead | INT | No | delay after pointing (s) | ||
slew_rate_max | FLOAT | No | most rapid slew for pointing (deg/s) | ||
horizon_type | VARCHAR(45) | No | type of coordinates for horizondef (altaz or hadec) | ||
horizon_def | DOUBLE | No | define horizon elevation amers | ||
lim_dec_max | DOUBLE | No | highest limit of declination (deg) | ||
lim_dec_min | DOUBLE | No | lowest limit of declination (deg) | ||
lim_ha_rise | DOUBLE | No | eastern rotation limit (deg) | ||
lim_ha_set | DOUBLE | No | western rotation limit (deg) | ||
address | VARCHAR(45) | No | post address | ||
night_elev_sun | DOUBLE | No | Max elevation of the sun to observe (deg) | ||
mpc_code | VARCHAR(45) | No | Minor Planet Center code of the observatory |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_telescope_device | Non-Identifying | device | telescope | 1:1 |
fk_detector_telescope | Non-Identifying | telescope | detector | 1:n |
Convention pour LIMHARISE et LIMASSET En asimuth : 0 --> sud 90 --> est |
CREATE TABLE IF NOT EXISTS `pyros`.`telescope` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
updated | DATETIME | No | |||
humid_int | FLOAT | No | |||
humid_ext | FLOAT | No | |||
wind | FLOAT | No | (m/s) | ||
wind_dir | VARCHAR(1) | No | 'N=0 E=90 S=180 W=270' | ||
temp_int | FLOAT | No | |||
temp_ext | FLOAT | No | |||
pressure | FLOAT | No | |||
rain | FLOAT | No | |||
dwn | VARCHAR(45) | No |
CREATE TABLE IF NOT EXISTS `pyros`.`weatherwatch` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
updated | DATETIME | No | |||
lights | VARCHAR(45) | No | |||
dome | VARCHAR(45) | No | |||
doors | VARCHAR(45) | No | |||
temperature | FLOAT | No |
CREATE TABLE IF NOT EXISTS `pyros`.`sitewatch` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes |
CREATE TABLE IF NOT EXISTS `pyros`.`sitewatchhistory` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
analysis | LONGTEXT | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_image_nrtanalysis | Non-Identifying | nrtanalysis | image | 1:n |
Level 1b analysis results |
CREATE TABLE IF NOT EXISTS `pyros`.`nrtanalysis` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
device_id | INT | Yes | |||
detector_id | INT | Yes | |||
category | CHAR(1) | No | One letter to describe the filter family : 'E,F,G,H,I,J,K...' | ||
transmission_curve_doc | VARCHAR(45) | No | pdf doc that describes the transmission curve |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_filter_detector | Non-Identifying | detector | filter | 1:n |
fk_filter_device | Non-Identifying | device | filter | 1:1 |
fk_plan_filter | Non-Identifying | filter | plan | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`filter` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
device_id | INT | Yes | |||
telescope_id | INT | Yes | |||
status | ENUM('idle', 'working', 'hs') | No | |||
nb_photo_x | INT | No | number of photosite along X | ||
nb_photo_y | INT | No | number of photosite along Y | ||
photo_size_x | INT | No | size of photosite along X (um/photosite) | ||
photo_size_y | INT | No | size of photosite along Y (um/photosite) | ||
has_shutter | BOOLEAN | No | |||
equivalent_foc_len | VARCHAR(45) | No | equivalent focal lenght (m) | ||
acq_start | DATETIME | No | date of beginning acquisition | ||
acq_stop | DATETIME | No | date of stopping acquisition | ||
check_temp | DOUBLE | No | operating temperature (Celsius) | ||
gain | FLOAT | No | gain (electron/ADU) | ||
readout_noise | FLOAT | No | readout noise (electron) | ||
readout_time | FLOAT | No | sec delay for coder reading | ||
idcam_readout_mode | INT | No | mode of pixel reading |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_detector_telescope | Non-Identifying | telescope | detector | 1:n |
fk_detector_device | Non-Identifying | device | detector | 1:1 |
fk_album_detector | Non-Identifying | detector | album | 1:n |
fk_filter_detector | Non-Identifying | detector | filter | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`detector` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
country_id | INT | Yes | |||
userlevel_id | INT | Yes | (ros leveladmin) | ||
name | VARCHAR(45) | No | ( | ||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
firstname | VARCHAR(45) | No | |||
VARCHAR(45) | No | ||||
url | VARCHAR(45) | No | |||
tel1 | VARCHAR(45) | No | |||
tel2 | VARCHAR(45) | No | |||
address | VARCHAR(45) | No | |||
login | VARCHAR(15) | No | |||
pass | VARCHAR(45) | No | |||
last_connect | DATETIME | No | |||
cur_connect | DATETIME | No | current time during connection | ||
putvalid_beg | DATETIME | No | permission first date of connection | ||
putvalid_end | DATETIME | No | permission last date of connection | ||
acqvalid_beg | VARCHAR(45) | No | first date to acquire images | ||
acqvalid_end | VARCHAR(45) | No | last date to acquire images | ||
quota | FLOAT | No | quota in % of allocated observation time | ||
quota_rea | FLOAT | No | |||
u_priority | INT | No | default priority level for requests (average level) | ||
p_priority | INT | No | default priority level for image processing queue | ||
dir_level | INT | No | if <0 ability to explore data system | ||
can_del_void_req | BOOLEAN | No | ALLOW_TO_DELETE_EMPTY_REQUEST_(WITHOUT_SCENE) |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_user_country1 | Non-Identifying | country | user | 1:n |
fk_users_uprofile1 | Non-Identifying | userlevel | user | 1:n |
fk_request_user | Non-Identifying | user | request | 1:n |
fk_users_has_scientificprograms_users1 | Non-Identifying | user | user_has_scientificprograms | 1:n |
Default user for a SVOM alert is « SVOM_alert » |
CREATE TABLE IF NOT EXISTS `pyros`.`user` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
quota | FLOAT | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_user_country1 | Non-Identifying | country | user | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`country` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
quota | FLOAT | No | |||
priority | INT | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_request_scientificprogram | Non-Identifying | scientificprogram | request | 1:n |
fk_users_has_scientificprograms_scientificprograms1 | Non-Identifying | scientificprogram | user_has_scientificprograms | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`scientificprogram` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | MEDIUMTEXT | No | |||
json_file | VARCHAR(45) | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_alertrequests_strategyobs1 | Non-Identifying | strategyobs | alert | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`strategyobs` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
created | DATETIME | No | |||
updated | DATETIME | No | |||
is_online | BOOLEAN | No | 1 | 1=online, 0=offline | |
status | ENUM('online', 'offline', 'maintenance', 'dead', 'busy', 'paused') | No | |||
maintenance_date | DATETIME | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_telescope_device | Non-Identifying | device | telescope | 1:1 |
fk_filter_device | Non-Identifying | device | filter | 1:1 |
fk_detector_device | Non-Identifying | device | detector | 1:1 |
CREATE TABLE IF NOT EXISTS `pyros`.`device` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | MEDIUMTEXT | No | |||
priority | INT | No | |||
quota | FLOAT | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_users_uprofile1 | Non-Identifying | userlevel | user | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`userlevel` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
name | VARCHAR(45) | No | |||
desc | TINYTEXT | No | |||
priority | INT | No |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_sequence_sequencetype | Non-Identifying | sequencetype | sequence | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`sequencetype` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
datetime | DATETIME | No | |||
humid_int | VARCHAR(45) | No | |||
humid_ext | VARCHAR(45) | No | |||
wind | VARCHAR(45) | No | (m/s) | ||
wind_dir | VARCHAR(45) | No | 'N=0 E=90 S=180 W=270' | ||
temp_int | VARCHAR(45) | No | |||
temp_ext | VARCHAR(45) | No | |||
pressure | VARCHAR(45) | No | |||
rain | VARCHAR(45) | No | |||
dwn | VARCHAR(45) | No |
CREATE TABLE IF NOT EXISTS `pyros`.`weatherwatchhistory` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
FK | schedulehistory_id | INT | Yes | ||
FK | sequence_id | INT | Yes |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_schedules_has_sequences_schedules1 | Identifying | schedulehistory | schedule_has_sequences | 1:n |
fk_schedules_has_sequences_sequences1 | Identifying | sequence | schedule_has_sequences | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`schedule_has_sequences` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
PK | id | INT | Yes | ||
created | DATETIME | No | |||
day_start | DATETIME | No | |||
day_stop | DATETIME | No | |||
flag | VARCHAR(45) | No | flag de synchro |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_sequence_schedule | Non-Identifying | schedule | sequence | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`schedule` ( |
Average Row Length | n/a | Use Check Sum | no |
Connection String | n/a | Default Character Set | n/a |
Default Collation | n/a | Delay Key Updates | no |
Minimal Row Count | n/a | Maximum Row Count | n/a |
Union Tables | n/a | Merge Method | n/a |
Pack Keys | n/a | Has Password | no |
Data Directory | n/a | Index Directory | n/a |
Engine | InnoDB | Row Format | n/a |
Key | Column Name | Datatype | Not Null | Default | Comment |
FK | user_id | INT | Yes | ||
FK | scientificprogram_id | INT | Yes |
Relationship Name | Relationship Type | Parent Table | Child Table | Card. |
fk_users_has_scientificprograms_users1 | Identifying | user | user_has_scientificprograms | 1:n |
fk_users_has_scientificprograms_scientificprograms1 | Identifying | scientificprogram | user_has_scientificprograms | 1:n |
CREATE TABLE IF NOT EXISTS `pyros`.`user_has_scientificprograms` ( |