Skip to content

Commit

Permalink
fixing vizdb sqla
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 committed Oct 20, 2023
1 parent 01b6dd1 commit 521dc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/sdssdb/sqlalchemy/sdss5db/vizdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SDSSidFlat(Base):
ra_sdss_id = Column('ra_sdss_id', Float(53))
dec_sdss_id = Column('dec_sdss_id', Float(53))
n_associated = Column('n_associated', SmallInteger)
pk = Column('pk', BigInteger, null=False, primary_key=True)
pk = Column('pk', BigInteger, primary_key=True)
ra_catalogid = Column('ra_catalogid', Float(53))
dec_catalogid = Column('dec_catalogid', Float(53))

Expand All @@ -70,7 +70,7 @@ class SDSSidToPipes(Base):
__tablename__ = 'sdssid_to_pipes'
print_fields = ['sdss_id', 'in_boss', 'in_apogee', 'in_astra']

pk = Column('pk', BigInteger, null=False, primary_key=True)
pk = Column('pk', BigInteger, primary_key=True)
sdss_id = Column('sdss_id', BigInteger)
in_boss = Column('in_boss', Boolean)
in_apogee = Column('in_apogee', Boolean)
Expand Down

0 comments on commit 521dc38

Please sign in to comment.