Revision 55936b8f
Added by Andreas Müller almost 6 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v47_49/SchemaUpdater_47_49.java | ||
---|---|---|
170 | 170 |
step = ColumnAdder.NewStringInstance(stepName, tableName, newColumnName, length, INCLUDE_AUDIT); |
171 | 171 |
stepList.add(step); |
172 | 172 |
|
173 |
//#6943 Add combination 'in'-author |
|
174 |
stepName = "Add combination 'in'-author"; |
|
175 |
tableName = "TaxonName"; |
|
176 |
newColumnName = "inCombinationAuthorship_id"; |
|
177 |
String referencedTable = "AgentBase"; |
|
178 |
step = ColumnAdder.NewIntegerInstance(stepName, tableName, newColumnName, INCLUDE_AUDIT, !NOT_NULL, referencedTable); |
|
179 |
stepList.add(step); |
|
180 |
|
|
181 |
//#6943 Add basionym 'in'-author |
|
182 |
stepName = "Add basionym 'in'-author"; |
|
183 |
tableName = "TaxonName"; |
|
184 |
newColumnName = "inBasionymAuthorship_id"; |
|
185 |
referencedTable = "AgentBase"; |
|
186 |
step = ColumnAdder.NewIntegerInstance(stepName, tableName, newColumnName, INCLUDE_AUDIT, !NOT_NULL, referencedTable); |
|
187 |
stepList.add(step); |
|
173 | 188 |
|
174 | 189 |
|
175 | 190 |
//7276 Make User.emailAddress a unique field |
Also available in: Unified diff
fix #6943 add zoological in-authors to TaxonName