diff --git a/python/sdssdb/peewee/sdss5db/targetdb.py b/python/sdssdb/peewee/sdss5db/targetdb.py index b244a402..0c2ec4cf 100644 --- a/python/sdssdb/peewee/sdss5db/targetdb.py +++ b/python/sdssdb/peewee/sdss5db/targetdb.py @@ -157,7 +157,7 @@ class Carton(TargetdbBase): category = ForeignKeyField(column_name='category_pk', field='pk', model=Category) - label = TextField() + carton = TextField() pk = AutoField() mapper = ForeignKeyField(column_name='mapper_pk', field='pk', diff --git a/schema/sdss5db/catalogdb/sdss5db.catalogdb.pdf b/schema/sdss5db/catalogdb/sdss5db.catalogdb.pdf index e3143ac5..792f2ea9 100644 Binary files a/schema/sdss5db/catalogdb/sdss5db.catalogdb.pdf and b/schema/sdss5db/catalogdb/sdss5db.catalogdb.pdf differ diff --git a/schema/sdss5db/catalogdb/sdss5db.catalogdb_lite.pdf b/schema/sdss5db/catalogdb/sdss5db.catalogdb_lite.pdf index 4eb3d91d..a6115e1c 100644 Binary files a/schema/sdss5db/catalogdb/sdss5db.catalogdb_lite.pdf and b/schema/sdss5db/catalogdb/sdss5db.catalogdb_lite.pdf differ diff --git a/schema/sdss5db/targetdb/sdss5db.targetdb.pdf b/schema/sdss5db/targetdb/sdss5db.targetdb.pdf index 512a8c45..fe0738f4 100644 Binary files a/schema/sdss5db/targetdb/sdss5db.targetdb.pdf and b/schema/sdss5db/targetdb/sdss5db.targetdb.pdf differ diff --git a/schema/sdss5db/targetdb/sdss5db.targetdb.png b/schema/sdss5db/targetdb/sdss5db.targetdb.png index 91903d9e..f2b17c3e 100644 Binary files a/schema/sdss5db/targetdb/sdss5db.targetdb.png and b/schema/sdss5db/targetdb/sdss5db.targetdb.png differ