Skip to content
Snippets Groups Projects
Commit 298b2a99 authored by aboeckle's avatar aboeckle
Browse files

OO-4454: Renamed upgrader for 15pre6

parent d4a0f319
No related branches found
No related tags found
No related merge requests found
Showing with 16 additions and 15 deletions
......@@ -41,11 +41,11 @@ import org.springframework.beans.factory.annotation.Autowired;
* @author aboeckle, alexander.boeckle@frentix.com, http://www.frentix.com
*
*/
public class OLATUpgrade_15_pre_5 extends OLATUpgrade {
public class OLATUpgrade_15_pre_6 extends OLATUpgrade {
private static final Logger log = Tracing.createLoggerFor(OLATUpgrade_15_pre_5.class);
private static final Logger log = Tracing.createLoggerFor(OLATUpgrade_15_pre_6.class);
private static final String VERSION = "OLAT_15.pre.5";
private static final String VERSION = "OLAT_15.pre.6";
private static final String CATALOG_ORDER_INDEX = "CATALOG ORDER INDEX";
private AtomicInteger migrationCounter = new AtomicInteger(0);
......@@ -53,7 +53,7 @@ public class OLATUpgrade_15_pre_5 extends OLATUpgrade {
@Autowired
private DB dbInstance;
public OLATUpgrade_15_pre_5() {
public OLATUpgrade_15_pre_6() {
super();
}
......
......@@ -228,6 +228,10 @@
<constructor-arg index="0" value="OLAT_15.pre.5" />
<property name="alterDbStatements" value="alter_15_pre_4_to_15_pre_5.sql" />
</bean>
<bean id="database_upgrade_15_pre_6" class="org.olat.upgrade.DatabaseUpgrade">
<constructor-arg index="0" value="OLAT_15.pre.5" />
<property name="alterDbStatements" value="alter_15_pre_5_to_15_pre_6.sql" />
</bean>
</list>
</property>
</bean>
......
......@@ -54,7 +54,7 @@
<bean id="upgrade_14_0_5" class="org.olat.upgrade.OLATUpgrade_14_0_5"/>
<bean id="upgrade_14_1_0" class="org.olat.upgrade.OLATUpgrade_14_1_0"/>
<bean id="upgrade_14_2_0" class="org.olat.upgrade.OLATUpgrade_14_2_0"/>
<bean id="upgrade_15_pre_5" class="org.olat.upgrade.OLATUpgrade_15_pre_5"/><!-- because really quicker as pre.0 -->
<bean id="upgrade_15_pre_6" class="org.olat.upgrade.OLATUpgrade_15_pre_6"/><!-- because really quicker as pre.0 -->
<bean id="upgrade_15_pre_0" class="org.olat.upgrade.OLATUpgrade_15_pre_0"/>
</list>
</property>
......
-- grading
alter table o_grad_time_record add column g_metadata_time bigint default 0 not null;
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
-- grading
alter table o_grad_time_record add g_metadata_time number(20) default 0 not null;
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
-- grading
alter table o_grad_time_record add column g_metadata_time int8 default 0 not null;
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
alter table o_grad_time_record add column g_metadata_time int8 default 0 not null;
\ No newline at end of file
-- CATALOG
UPDATE o_catentry SET short_title = name;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment