From 47ac433da068b1200b6ab7c896a23fc4fc676ca7 Mon Sep 17 00:00:00 2001 From: johndonor3 Date: Wed, 30 Oct 2024 08:34:57 -0500 Subject: [PATCH] add sn2_15 column --- 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 fca9e657..588c5915 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 711faa00..1c42d7db 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);