From 172a9799f83d74bd6b36f26edb0e509959dfa7d4 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Tue, 19 Apr 2011 12:30:40 +0000
Subject: [PATCH] LMS-2043 db changes to store image library

SVN: 20979
---
 screening/source/sql/postgresql/011/schema-011.sql              | 2 +-
 screening/source/sql/postgresql/migration/migration-010-011.sql | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/screening/source/sql/postgresql/011/schema-011.sql b/screening/source/sql/postgresql/011/schema-011.sql
index 186bd8516c4..1953e10455b 100644
--- a/screening/source/sql/postgresql/011/schema-011.sql
+++ b/screening/source/sql/postgresql/011/schema-011.sql
@@ -79,7 +79,7 @@ CREATE TABLE DATA_SETS (
   IMAGE_LIBRARY_NAME NAME,
   -- Which reader in the library should be used? Vald only if the library name is specified.
   -- If not specified, the reader will be detected automatically (it can be slower).
-  IMAGE_READER_NAME NAME,
+  IMAGE_LIBRARY_READER_NAME NAME,
   ---- END image dataset specific fields
   
   CONT_ID TECH_ID,
diff --git a/screening/source/sql/postgresql/migration/migration-010-011.sql b/screening/source/sql/postgresql/migration/migration-010-011.sql
index fcbeb553b31..95b0a18d3dd 100644
--- a/screening/source/sql/postgresql/migration/migration-010-011.sql
+++ b/screening/source/sql/postgresql/migration/migration-010-011.sql
@@ -1,4 +1,4 @@
 -- Migration from 010 to 011
 
 ALTER TABLE data_sets ADD COLUMN image_library_name NAME;
-ALTER TABLE data_sets ADD COLUMN image_reader_name NAME;
+ALTER TABLE data_sets ADD COLUMN image_library_reader_name NAME;
-- 
GitLab