Skip to content

Commit a0726ea

Browse files
committed
rename file
1 parent 5b787d3 commit a0726ea

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

postgres/migrations/V032_photometry_layer1_catalog.sql renamed to postgres/migrations/V032__photometry_layer1_catalog.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
CREATE SCHEMA IF NOT EXISTS photometry ;
22
SELECT meta.setparams('photometry', '{"description": "Photometry catalog"}');
33

4-
CREATE TYPE photometry.MagSysType AS ENUM ( 'Vega', 'AB', 'ST' ) ;
4+
CREATE TYPE photometry.mag_sys_type AS ENUM ( 'Vega', 'AB', 'ST' ) ;
55

6-
COMMENT ON TYPE photometry.MagSysType IS '{
6+
COMMENT ON TYPE photometry.mag_sys_type IS '{
77
"Vega" : "The Vega magnitude system uses Vega as the standard star with an apparent magnitude of zero, regardless of the wavelength filter. The spectrum of Vega used to define this system is a composite spectrum of empirical and synthetic spectra (Bohlin & Gilliland, 2004AJ....127.3508B). m(Vega) = -2.5*log10(F/FVega), where F is the flux of an object and FVega is the calibrated spectrum of Vega.",
88
"AB" : "The AB magnitude system uses a flat reference spectrum in frequency space. The conversion is chosen such that the V-magnitude corresponds roughly to that in the Johnson system. The monochromatic AB magnitude is defined as m(AB) = 8.9 -2.5*log10(Fv[Jy]) = -48.6 -2.5*log10(Fv[erg s^−1 cm^−2 Hz^−1]), where Fv is the spectral flux density.",
99
"ST" : "The ST magnitude system uses a flat reference spectrum in wavelength space. The conversion is chosen such that the V-magnitude corresponds roughly to that in the Johnson system. The monochromatic ST magnitude is defined as m(ST) = -21.1 -2.5*log10(Flambda[erg s^−1 cm^−2 Angstrom^−1]), where Flambda is the spectral flux density."
1010
}' ;
1111

1212
CREATE TABLE photometry.systems (
13-
id Text PRIMARY KEY
14-
, description Text NOT NULL
15-
, bibcode Char(19) UNIQUE
16-
, svo_id Text UNIQUE
13+
id text PRIMARY KEY
14+
, description text NOT NULL
15+
, bibcode char(19) UNIQUE
16+
, svo_id text UNIQUE
1717
) ;
1818

1919
SELECT meta.setparams('photometry', 'systems', '{"description": "Photometric systems"}');

0 commit comments

Comments
 (0)