Skip to content

Commit

Permalink
Explicitely add tic_v8.id
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Apr 11, 2020
1 parent 1d0d082 commit 9074bfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/sdssdb/peewee/sdss5db/catalogdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ class Meta:

class TIC_v8(CatalogdbModel):

id = BigIntegerField(primary_key=True)

tycho2 = ForeignKeyField(Tycho2, field='name',
column_name='tyc', object_id_name='tyc',
backref='tic')
Expand Down

0 comments on commit 9074bfe

Please sign in to comment.