Skip to content

Commit 27f3dcd

Browse files
author
IlkaCu
authored
add version to pkey
1 parent c26aae8 commit 27f3dcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

preprocessing/sql_snippets/ego_dp_structure_versioning.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5803,7 +5803,7 @@ CREATE TABLE grid.ego_line_expansion_costs
58035803
comment text,
58045804
source text,
58055805
capital_costs_pypsa double precision,
5806-
CONSTRAINT ego_line_expansion_costs_pkey PRIMARY KEY (cost_id)
5806+
CONSTRAINT ego_line_expansion_costs_pkey PRIMARY KEY (version, cost_id)
58075807
);
58085808
58095809
--FK

0 commit comments

Comments
 (0)