From 7dd1847bb84719e8a4a6fa47d2efcd9499f52312 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 14 Oct 2020 13:49:30 +0200 Subject: cpanfile: Require DBD::SQLite 1.60 or newer This fixes an error in migration 2 where `alter table .. rename column` is used. This syntax is only supported in sqlite 3.25.0 or newer and DBD::SQLite 1.60 is the first production version to include this version of sqlite. Signed-off-by: Florian Pritz --- Changes | 2 ++ cpanfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 3013873..edd7841 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Revision history for Perl extension App-BorgRestore {{$NEXT}} + - Require DBD::SQLite 1.60 or newer to fix issues with schema migration 2 + on old systems. 3.4.3 2020-09-27T13:53:54Z - Add database migration for change from 3.4.2 diff --git a/cpanfile b/cpanfile index 3ed141b..aaccf5c 100644 --- a/cpanfile +++ b/cpanfile @@ -1,5 +1,5 @@ requires 'Carp::Assert'; -requires 'DBD::SQLite'; +requires 'DBD::SQLite', '1.60'; requires 'DBI'; requires 'Date::Parse'; requires 'File::pushd'; -- cgit v1.2.3-24-g4f1b