summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r--lib/Travelynx/Command/database.pm2
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;
}
);