Skip to content

Commit 28d08a8

Browse files
author
IlkaCu
authored
change gid to id
1 parent 9d9cb09 commit 28d08a8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

preprocessing/sql_snippets/ego_dp_preprocessing_conv_powerplant.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ SELECT obj_description('model_draft.ego_dp_supply_conv_powerplant'::regclass)::j
176176
INSERT INTO model_draft.ego_dp_supply_conv_powerplant
177177
SELECT
178178
'v0.3.0'::text as preversion,
179-
gid as id,
179+
id,
180180
bnetza_id,
181181
company,
182182
name,
@@ -237,11 +237,11 @@ UPDATE model_draft.ego_dp_supply_conv_powerplant
237237
-- Correct an invalid geom in the register
238238
UPDATE model_draft.ego_dp_supply_conv_powerplant
239239
SET lat = 48.0261021
240-
WHERE gid = 493;
240+
WHERE id = 493;
241241

242242
UPDATE model_draft.ego_dp_supply_conv_powerplant
243243
set geom = ST_SetSRID(ST_MakePoint(lon,lat),4326)
244-
WHERE gid = 493;
244+
WHERE id = 493;
245245

246246

247247
-- Update Voltage Level of Power Plants according to allocation table

0 commit comments

Comments
 (0)