diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-20 19:15:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-20 19:15:21 +0200 |
commit | 1dc04eb45ad9d7208cbfa1d7eb046861ff43e0c2 (patch) | |
tree | 4ca2a48c1cee83c71f4a06c80914ee191ec3c9b3 /lib/Travelynx/Command/database.pm | |
parent | 531cb95c1773fe459a2ef4c9f2adc8d89e75a62d (diff) |
show journey suggestions on departure board as well1.6.0
Diffstat (limited to 'lib/Travelynx/Command/database.pm')
-rw-r--r-- | lib/Travelynx/Command/database.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/database.pm b/lib/Travelynx/Command/database.pm index a15390d..99fcc61 100644 --- a/lib/Travelynx/Command/database.pm +++ b/lib/Travelynx/Command/database.pm @@ -535,6 +535,17 @@ my @migrations = ( } ); }, + + # v12 -> v13 + sub { + my ($db) = @_; + $db->query( + qq{ + alter table users add column use_history smallint default 255; + update schema_version set version = 13; + } + ); + }, ); sub setup_db { |