Restructure file , remove html/admin , backup ...
This commit is contained in:
parent
b57df7c0e8
commit
896f3624c7
169 changed files with 48 additions and 54 deletions
14
include/sql/patch/upgrade30.sql
Normal file
14
include/sql/patch/upgrade30.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
begin ;
|
||||
alter table jrn_action drop constraint "$1";
|
||||
alter table jrn_def drop constraint "$1";
|
||||
|
||||
update jrn_action set ja_jrn_type='ODS' where ja_jrn_type='OD ';
|
||||
update jrn_def set jrn_def_type='ODS' where jrn_def_type = 'OD ';
|
||||
update jrn_type set jrn_type_id='ODS' where jrn_type_id ='OD ';
|
||||
|
||||
alter table jrn_action add constraint "$1" foreign key (ja_jrn_type) references jrn_type(jrn_type_id);
|
||||
|
||||
alter table jrn_def add constraint "$1" FOREIGN KEY (jrn_def_type) REFERENCES jrn_type(jrn_type_id);
|
||||
update version set val=31;
|
||||
|
||||
commit;
|
||||
Loading…
Add table
Add a link
Reference in a new issue