Skip to content

Commit

Permalink
Fix typo in CatalogToToO_Target model name
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Apr 24, 2024
1 parent 98404cd commit b15c5c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/sdssdb/peewee/sdss5db/catalogdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
ForeignKeyField,
IntegerField,
ManyToManyField,
TextField
TextField,
)
from playhouse.postgres_ext import ArrayField

from .. import BaseModel
from . import database


# When adding a foreign key like below to a peewee model class
#
# gaia_xmatch = ForeignKeyField(Gaia_edr3_sdssdr13_best_neighbour,
Expand Down Expand Up @@ -3146,7 +3145,7 @@ class Meta:
reflect = False


class CatalogToToOTarget(CatalogdbModel):
class CatalogToToO_Target(CatalogdbModel):
catalog = ForeignKeyField(Catalog,
column_name='catalogid',
backref='+')
Expand Down

0 comments on commit b15c5c8

Please sign in to comment.