Skip to content

Commit 3f112f4

Browse files
author
IlkaCu
authored
change pkey
1 parent a2e861e commit 3f112f4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

preprocessing/sql_snippets/ego_dp_structure_versioning.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5936,6 +5936,7 @@ SELECT obj_description('grid.ego_line_expansion_costs' ::regclass) ::json;
59365936
SELECT scenario_log('eGo_DP', 'v0.4.0','result','grid','ego_line_expansion_costs','ego_dp_structure_versioning.sql','hv pf line expansion costs');
59375937

59385938
-- generator single subset
5939+
DROP TABLE IF EXISTS supply.ego_aggr_weather;
59395940

59405941
CREATE TABLE supply.ego_aggr_weather
59415942
(
@@ -5945,7 +5946,7 @@ CREATE TABLE supply.ego_aggr_weather
59455946
scn_name character varying,
59465947
bus bigint,
59475948
row_number bigint,
5948-
CONSTRAINT ego_aggr_weather_pkey PRIMARY KEY (version, aggr_id, w_id)
5949+
CONSTRAINT ego_aggr_weather_pkey PRIMARY KEY (version, row_number)
59495950
);
59505951
ALTER TABLE supply.ego_aggr_weather
59515952
OWNER TO oeuser;

0 commit comments

Comments
 (0)