Skip to content
Snippets Groups Projects
Commit 004be649 authored by Prasad's avatar Prasad
Browse files

Fixed migration 720_to_730 and defaultlandingpage column

parent 6fb1ac29
No related branches found
No related tags found
No related merge requests found
......@@ -69,9 +69,14 @@ class Install_InitSchema_Model {
$oldVersion = $newVersion;
break;
}
// Fix version numbering
if (strlen($oldVersion."") < 3) $oldVersion .= "0";
if (strlen($newVersion."") < 3) $newVersion .= "0";
$oldVersion = str_replace(array('.', ' '), '', $oldVersion);
$newVersion = str_replace(array('.', ' '), '', $newVersion);
$filename = "modules/Migration/schema/".$oldVersion."_to_".$newVersion.".php";
if(is_file($filename)) {
include($filename);
}
......
......@@ -102,6 +102,7 @@
<field name="currency_grouping_separator" type="C" size="2" />
<field name="currency_symbol_placement" type="C" size="20" />
<field name="userlabel" type="C" size="255" />
<field name="defaultlandingpage" type="C" size="200" />
<index name="user_user_name_idx">
<col>user_name</col>
</index>
......
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