database migrate: Use truncate

This commit is contained in:
Daniel Friesel 2019-04-21 17:45:25 +02:00
parent 07c6e8878b
commit b860b46e52

View file

@ -132,7 +132,7 @@ my @migrations = (
my ($dbh) = @_; my ($dbh) = @_;
return $dbh->do( return $dbh->do(
qq{ qq{
delete from journey_stats; truncate journey_stats;
update schema_version set version = 3; update schema_version set version = 3;
} }
); );