Skip to content

Commit

Permalink
Rename rotation to rot_angle
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jun 4, 2020
1 parent fa7a117 commit dd48604
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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``.
* Add ``rotation`` column to ``targetdb.field``.
* Add ``rot_angle`` column to ``targetdb.field``.

* :release:`0.4.2 <2020-05-29>`
* Add ``targetdb.version.tag`` column.
Expand Down
2 changes: 1 addition & 1 deletion python/sdssdb/peewee/sdss5db/targetdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Field(TargetdbBase):
pk = AutoField()
racen = DoubleField(null=False)
deccen = DoubleField(null=False)
rotation = FloatField(null=True)
rot_angle = FloatField(null=True)
cadence = ForeignKeyField(column_name='cadence_pk',
field='pk',
model=Cadence,
Expand Down
Binary file modified schema/sdss5db/catalogdb/sdss5db.catalogdb.pdf
Binary file not shown.
Binary file modified schema/sdss5db/catalogdb/sdss5db.catalogdb_lite.pdf
Binary file not shown.
Binary file modified schema/sdss5db/targetdb/sdss5db.targetdb.pdf
Binary file not shown.
Binary file modified schema/sdss5db/targetdb/sdss5db.targetdb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion schema/sdss5db/targetdb/targetdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ CREATE TABLE targetdb.field (
pk SERIAL PRIMARY KEY NOT NULL,
racen DOUBLE PRECISION NOT NULL,
deccen DOUBLE PRECISION NOT NULL,
rotation REAL,
rot_angle REAL,
version_pk SMALLINT,
cadence_pk SMALLINT,
observatory_pk SMALLINT);
Expand Down

0 comments on commit dd48604

Please sign in to comment.