Skip to content

Commit

Permalink
add peewee models for gaia_dr3_source_g_lt_16 and gaia_dr2_source_g_l…
Browse files Browse the repository at this point in the history
…t_18 (#270)
  • Loading branch information
astronomygupta authored Sep 17, 2024
1 parent 5379c96 commit 8000b37
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions python/sdssdb/peewee/sdss5db/catalogdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@ class Meta:
table_name = 'gaia_dr2_source'


class Gaia_DR2_g_lt_18(CatalogdbModel):
source_id = BigIntegerField(primary_key=True)

class Meta:
table_name = "gaia_dr2_source_g_lt_18"


class Gaia_EDR3(CatalogdbModel):

source_id = BigIntegerField(primary_key=True)
Expand All @@ -257,6 +264,13 @@ class Meta:
table_name = 'gaia_dr3_source'


class Gaia_DR3_g_lt_16(CatalogdbModel):
source_id = BigIntegerField(primary_key=True)

class Meta:
table_name = "gaia_dr3_source_g_lt_16"


class Gaia_DR2_Neighbourhood(CatalogdbModel):

pkey = BigIntegerField(primary_key=True)
Expand Down

0 comments on commit 8000b37

Please sign in to comment.