From 0726901095ddcbc80cb6b5b68d83d9d26aa5d4e4 Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <andreas.romeyke@slub-dresden.de>
Date: Mon, 15 Apr 2024 08:12:43 +0200
Subject: [PATCH] - fixed table transferaip

---
 perl/exit_strategy.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/perl/exit_strategy.pl b/perl/exit_strategy.pl
index 2b621e2..8fb86d1 100644
--- a/perl/exit_strategy.pl
+++ b/perl/exit_strategy.pl
@@ -160,10 +160,10 @@ CREATE TABLE deleted (
   );
 SQL_CREATE6
   my $sql7=<<"SQL_CREATE7";
-CREATE TABLE transferAIP (
+CREATE TABLE transferaip (
   id INTEGER,
   aip_id INTEGER NOT NULL REFERENCES aip (id),
-  lza_id INTEGER,
+  lza_id TEXT NOT NULL,
   transfer_state TEXT NOT NULL,
   PRIMARY KEY(id AUTOINCREMENT)
   );
-- 
GitLab