From a968dc3150c62cbcc1e5bc53a05fee58896f2176 Mon Sep 17 00:00:00 2001 From: Pramod Gupta <61213683+astronomygupta@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:48:20 -0700 Subject: [PATCH] targetdb.targeting_generation_to_version: add pk (#276) --- schema/sdss5db/targetdb/targetdb.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/sdss5db/targetdb/targetdb.sql b/schema/sdss5db/targetdb/targetdb.sql index a3f1e22a..580229b6 100644 --- a/schema/sdss5db/targetdb/targetdb.sql +++ b/schema/sdss5db/targetdb/targetdb.sql @@ -235,6 +235,7 @@ CREATE TABLE targetdb.targeting_generation_to_carton ( ); CREATE TABLE targetdb.targeting_generation_to_version ( + pk SERIAL PRIMARY KEY NOT NULL, generation_pk INTEGER, version_pk INTEGER );