Project

General

Profile

« Previous | Next » 

Revision 2d4f2380

Added by Andreas Müller almost 6 years ago

ref 6588 update script for originalSource.links

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v47_50/SchemaUpdater_47_50.java
240 240
        step = MnTableCreator.NewDescriptionInstance(stepName, firstTableName, null, attributeName, INCLUDE_AUDIT);
241 241
        stepList.add(step);
242 242

  
243
        //#6588 add link to sources
244
        stepName= "Add external link to sources";
245
        firstTableName = "OriginalSourceBase";
246
        String secondTableName = "ExternalLink";
247
        attributeName = "links";
248
        boolean isList = false;
249
        step = MnTableCreator.NewMnInstance(stepName, firstTableName, null, secondTableName, null, attributeName, INCLUDE_AUDIT, isList, IS_1_TO_M);
250
        stepList.add(step);
251

  
243 252

  
244 253
//        //7276  Make User.emailAddress a unique field
245 254
//        //TODO H2 / PostGreSQL / SQL Server

Also available in: Unified diff