Fix wrong posterita entity types

This commit is contained in:
Carlos Ruiz 2008-12-31 19:52:12 +00:00
parent 487d3bf1df
commit 024823a18a
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,23 @@
update AD_COLUMN set entitytype = 'D' where entitytype in ('A','U') and AD_COLUMN_id < 1000000;
update AD_ELEMENT set entitytype = 'D' where entitytype in ('A','U') and AD_ELEMENT_id < 1000000;
update AD_FIELD set entitytype = 'D' where entitytype in ('A','U') and AD_FIELD_id < 1000000;
update AD_MENU set entitytype = 'D' where entitytype in ('A','U') and AD_MENU_id < 1000000;
update AD_MESSAGE set entitytype = 'D' where entitytype in ('A','U') and AD_MESSAGE_id < 1000000;
update AD_REFERENCE set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_REF_LIST set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_REF_TABLE set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_TAB set entitytype = 'D' where entitytype in ('A','U') and AD_TAB_id < 1000000;
update AD_TABLE set entitytype = 'D' where entitytype in ('A','U') and AD_TABLE_id < 1000000;
update AD_VAL_RULE set entitytype = 'D' where entitytype in ('A','U') and AD_VAL_RULE_id < 1000000;
update AD_WINDOW set entitytype = 'D' where entitytype in ('A','U') and AD_WINDOW_id < 1000000;

View File

@ -0,0 +1,23 @@
update AD_COLUMN set entitytype = 'D' where entitytype in ('A','U') and AD_COLUMN_id < 1000000;
update AD_ELEMENT set entitytype = 'D' where entitytype in ('A','U') and AD_ELEMENT_id < 1000000;
update AD_FIELD set entitytype = 'D' where entitytype in ('A','U') and AD_FIELD_id < 1000000;
update AD_MENU set entitytype = 'D' where entitytype in ('A','U') and AD_MENU_id < 1000000;
update AD_MESSAGE set entitytype = 'D' where entitytype in ('A','U') and AD_MESSAGE_id < 1000000;
update AD_REFERENCE set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_REF_LIST set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_REF_TABLE set entitytype = 'D' where entitytype in ('A','U') and AD_REFERENCE_id < 1000000;
update AD_TAB set entitytype = 'D' where entitytype in ('A','U') and AD_TAB_id < 1000000;
update AD_TABLE set entitytype = 'D' where entitytype in ('A','U') and AD_TABLE_id < 1000000;
update AD_VAL_RULE set entitytype = 'D' where entitytype in ('A','U') and AD_VAL_RULE_id < 1000000;
update AD_WINDOW set entitytype = 'D' where entitytype in ('A','U') and AD_WINDOW_id < 1000000;