summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-10-14 13:49:30 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-10-14 14:30:07 +0200
commit7dd1847bb84719e8a4a6fa47d2efcd9499f52312 (patch)
tree685cb2be90c4be43088950eac9601dfe6e77ae84
parent2bcc52b2e0b2397bd62dbba4db29b4fadc3870af (diff)
downloadApp-BorgRestore-7dd1847bb84719e8a4a6fa47d2efcd9499f52312.tar.gz
App-BorgRestore-7dd1847bb84719e8a4a6fa47d2efcd9499f52312.tar.xz
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 <bluewind@xinu.at>
-rw-r--r--Changes2
-rw-r--r--cpanfile2
2 files changed, 3 insertions, 1 deletions
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';