summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-02-04 22:17:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-02-04 22:17:57 +0100
commit3da22fc8f99fcfc910090a9b99b2b690e6269bda (patch)
treec41dcb54e14bb98120367545c658505dab85c101 /lib/Travelynx/Command
parent16cdc3d10a5483a7b7005d57590f6059a8433806 (diff)
improve inconsistency list1.29.18
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r--lib/Travelynx/Command/database.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/database.pm b/lib/Travelynx/Command/database.pm
index a42f2f5..407d50a 100644
--- a/lib/Travelynx/Command/database.pm
+++ b/lib/Travelynx/Command/database.pm
@@ -1300,6 +1300,18 @@ my @migrations = (
}
);
},
+
+ # v31 -> v32
+ # travelynx v1.29.18 improves above-mentioned conflict links.
+ sub {
+ my ($db) = @_;
+ $db->query(
+ qq{
+ truncate journey_stats;
+ update schema_version set version = 32;
+ }
+ );
+ },
);
sub sync_stations {