From 91cf82ac332a46f9587f4ffce7355911ea94b083 Mon Sep 17 00:00:00 2001 From: John Donor Date: Wed, 30 Oct 2024 09:59:43 -0500 Subject: [PATCH] add sn2_15 column (#277) --- python/sdssdb/peewee/sdss5db/opsdb.py | 1 + schema/sdss5db/opsdb/opsdb.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/python/sdssdb/peewee/sdss5db/opsdb.py b/python/sdssdb/peewee/sdss5db/opsdb.py index d74e8209..2a6b5050 100644 --- a/python/sdssdb/peewee/sdss5db/opsdb.py +++ b/python/sdssdb/peewee/sdss5db/opsdb.py @@ -184,6 +184,7 @@ class CameraFrame(OpsdbBase): field='pk', model=Camera) ql_sn2 = FloatField() + sn2_15 = FloatField() sn2 = FloatField() comment = TextField(null=True) pk = AutoField() diff --git a/schema/sdss5db/opsdb/opsdb.sql b/schema/sdss5db/opsdb/opsdb.sql index 2f7a9b06..dbf3d439 100644 --- a/schema/sdss5db/opsdb/opsdb.sql +++ b/schema/sdss5db/opsdb/opsdb.sql @@ -72,6 +72,7 @@ CREATE TABLE opsdb.camera_frame ( exposure_pk INTEGER NOT NULL, camera_pk SMALLINT NOT NULL, ql_sn2 REAL, + sn2_15 REAL, sn2 REAL, comment TEXT);