Skip to content

Commit b8fd752

Browse files
Prepare migration of parameters for shortcircuit (#417)
Let's go more simple, it's the last.
1 parent 050df0d commit b8fd752

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
insert into shortcircuit.shortcircuit_parameters(id, initial_voltage_profile_mode, min_voltage_drop_proportional_threshold, predefined_parameters, study_type, with_feeder_result, with_limit_violations, with_loads, with_neutral_position, with_shunt_compensators, with_voltage_result, with_vsc_converter_stations)
2+
select id, initial_voltage_profile_mode, min_voltage_drop_proportional_threshold, predefined_parameters, study_type, with_feeder_result, with_limit_violations, with_loads, with_neutral_position, with_shunt_compensators, with_voltage_result, with_vsc_converter_stations from study.short_circuit_parameters;
3+
update study.study set short_circuit_parameters_uuid=short_circuit_parameters_entity_id, short_circuit_parameters_entity_id=null
4+
where short_circuit_parameters_entity_id is not null;

0 commit comments

Comments
 (0)