diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-21 17:45:25 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-21 17:45:25 +0200 |
commit | b860b46e5232182d9ad5462334c0f4025b5231ee (patch) | |
tree | 67f4957112538f22b8f2ae3507aa19802f684ec5 /lib/Travelynx/Command | |
parent | 07c6e8878ba6130882633b7ddb408eae9a0179f2 (diff) |
database migrate: Use truncate
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r-- | lib/Travelynx/Command/database.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/database.pm b/lib/Travelynx/Command/database.pm index 7a9aed3..6f7e35d 100644 --- a/lib/Travelynx/Command/database.pm +++ b/lib/Travelynx/Command/database.pm @@ -132,7 +132,7 @@ my @migrations = ( my ($dbh) = @_; return $dbh->do( qq{ - delete from journey_stats; + truncate journey_stats; update schema_version set version = 3; } ); |