Skip to content

Commit

Permalink
Fix GH Issue #604
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x authored and Felix committed Apr 5, 2023
1 parent cbf8e17 commit 3d42a6f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -203,7 +203,7 @@ def upgrade_data():
sequence_name = "%s_id_seq" % t_sensors.name
# Set next id for table seq to just after max id of all old sensors combined
connection.execute(
"SELECT setval('%s', %s, true);"
"SELECT setval('%s', %s, false);" # is_called = False
% (sequence_name, max_asset_id + max_market_id + max_weather_sensor_id + 1)
)

Expand Down

0 comments on commit 3d42a6f

Please sign in to comment.