Upgrade db to version 19
This commit is contained in:
parent
7dfcd3c10b
commit
363c0af02e
2 changed files with 11 additions and 0 deletions
|
|
@ -475,6 +475,9 @@ if ( DEBUG=='false' ) ob_start();
|
|||
$max=getDbValue($db,'select last_value from s_jnt_fic_att_value');
|
||||
AlterSequence($db,'s_jnt_fic_att_value',$max+1);
|
||||
} // version
|
||||
if ( GetVersion($db) == 18 ) {
|
||||
ExecuteScript($db,'sql/patch/upgrade18.sql');
|
||||
} // version
|
||||
|
||||
if ( DEBUG == 'false') ob_end_clean();
|
||||
}//for
|
||||
|
|
@ -563,6 +566,9 @@ if (DEBUG == 'false' ) ob_start();
|
|||
$max=getDbValue($db,'select last_value from s_jnt_fic_att_value');
|
||||
AlterSequence($db,'s_jnt_fic_att_value',$max+1);
|
||||
} // version
|
||||
if ( GetVersion($db) == 18 ) {
|
||||
ExecuteScript($db,'sql/patch/upgrade18.sql');
|
||||
} // version
|
||||
|
||||
if ( DEBUG == 'false') ob_end_clean();
|
||||
}
|
||||
|
|
|
|||
5
html/admin/sql/patch/upgrade18.sql
Normal file
5
html/admin/sql/patch/upgrade18.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
begin;
|
||||
alter table parm_periode drop constraint parm_periode_p_start_key;
|
||||
|
||||
update version set val=19;
|
||||
commit;
|
||||
Loading…
Add table
Add a link
Reference in a new issue