Skip to content
Snippets Groups Projects
Commit be7e93f9 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

reset auto-increment counter before updating entities list

parent a8794c23
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ $db->begin_work();
AccountManager::Entity->delete_entities(all => 1);
$db->dbh()->do('ALTER TABLE entities AUTO_INCREMENT = 1');
my %seen;
foreach my $id (split(/, */, $configuration->{groups}->{list})) {
my $spec = $configuration->{$id};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment