changeset 115:42d5588d11b6

more notes fields to migrate.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Mon, 26 Aug 2019 17:35:26 +0200
parents 70a02006675c
children 8acfd380fffe
files src/main/java/org/mpi/openmind/scripts/MigrateWitnessNotes.java
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/org/mpi/openmind/scripts/MigrateWitnessNotes.java	Mon Aug 26 16:10:14 2019 +0200
+++ b/src/main/java/org/mpi/openmind/scripts/MigrateWitnessNotes.java	Mon Aug 26 17:35:26 2019 +0200
@@ -1,6 +1,3 @@
-/**
- * 
- */
 package org.mpi.openmind.scripts;
 
 import java.util.ArrayList;
@@ -17,6 +14,8 @@
 import org.mpi.openmind.repository.services.ServiceRegistry;
 
 /**
+ * Copy old witness notes_* fields into notes_old.
+ * 
  * @author casties
  *
  */
@@ -24,7 +23,7 @@
 	private static final String migrateUser = "migrate-notes user";
 	protected static final Set<String> attsToMigrate = new HashSet<>(Arrays.asList(
 			"notes_on_collation_and_corrections", "notes_on_ownership", "notes_on_title_author", 
-			"other_features", "page_layout"));
+			"other_features", "page_layout", "diagrams_and_illustrations"));
 	
 	private static Logger logger = Logger.getLogger(MigrateWitnessNotes.class);