Skip to content

Commit

Permalink
Add z column to targetdb.magnitude
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jun 4, 2020
1 parent b4f27a2 commit 03ed5d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This document records the main changes to the ``sdssdb`` code.

* Add schema for ``gaia_dr2_ruwe``.
* Rename ``targetdb.program`` to ``carton``, and ``survey`` to ``mapper``. Add ``priority`` field in ``carton_to_target``.
* Add ``z`` column to ``targetdb.magnitude``.

* :release:`0.4.2 <2020-05-29>`
* Add ``targetdb.version.tag`` column.
Expand Down
1 change: 1 addition & 0 deletions python/sdssdb/peewee/sdss5db/targetdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class Magnitude(TargetdbBase):
g = FloatField(null=True)
h = FloatField(null=True)
i = FloatField(null=True)
z = FloatField(null=True)
pk = AutoField()
r = FloatField(null=True)
rp = FloatField(null=True)
Expand Down
1 change: 1 addition & 0 deletions schema/sdss5db/targetdb/targetdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ CREATE TABLE targetdb.magnitude (
g REAL,
r REAL,
i REAL,
z REAL,
h REAL,
bp REAL,
rp REAL,
Expand Down

0 comments on commit 03ed5d5

Please sign in to comment.