From 8000b375d96cf00228463535ca2d4cc305c9289a Mon Sep 17 00:00:00 2001 From: Pramod Gupta <61213683+astronomygupta@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:29:41 -0700 Subject: [PATCH] add peewee models for gaia_dr3_source_g_lt_16 and gaia_dr2_source_g_lt_18 (#270) --- python/sdssdb/peewee/sdss5db/catalogdb.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/python/sdssdb/peewee/sdss5db/catalogdb.py b/python/sdssdb/peewee/sdss5db/catalogdb.py index da3be67d..47e0b37d 100644 --- a/python/sdssdb/peewee/sdss5db/catalogdb.py +++ b/python/sdssdb/peewee/sdss5db/catalogdb.py @@ -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) @@ -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)