diff --git a/data_files/temoa_utopia.sql b/data_files/temoa_utopia.sql index ea372ff1..1db593d6 100644 --- a/data_files/temoa_utopia.sql +++ b/data_files/temoa_utopia.sql @@ -1000,5 +1000,15 @@ CREATE TABLE "MaxResource" ( PRIMARY KEY("regions","tech") ); #INSERT INTO `MaxResource` VALUES ('utopia','IMPGSL1',60,'',''); - +CREATE TABLE "LinkedTechs" ( + "primary_region" text, + "primary_tech" text, + "emis_comm" text, + "linked_tech" text, + "tech_linked_notes" text, + FOREIGN KEY("primary_tech") REFERENCES "technologies"("tech"), + FOREIGN KEY("linked_tech") REFERENCES "technologies"("tech"), + FOREIGN KEY("emis_comm") REFERENCES "commodities"("comm_name"), + PRIMARY KEY("primary_region","primary_tech", "emis_comm") +); COMMIT; diff --git a/data_files/temoa_utopia.sqlite b/data_files/temoa_utopia.sqlite index 761e20bd..d8d95515 100644 Binary files a/data_files/temoa_utopia.sqlite and b/data_files/temoa_utopia.sqlite differ