Skip to content

Commit

Permalink
Skip reflecting FKs in catalogdb
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Apr 18, 2020
1 parent 9f551bd commit c56c3d0
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 @@ -26,6 +26,8 @@ class Meta:
database = database
schema = 'catalogdb'
use_reflection = True
reflection_options = {'skip_foreign_keys': True}
primary_key = False


_Gaia_DR2_TwoMass_Deferred = DeferredThroughModel()
Expand Down

0 comments on commit c56c3d0

Please sign in to comment.