Script to fix some wrong entity types (affecting the way PackIn works on dictionary items)

This commit is contained in:
Carlos Ruiz 2011-03-08 10:52:18 -05:00
parent 00c71fc777
commit af5bcc0a16
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
update ad_element set entitytype = 'D' where entitytype='U' and AD_Element_id < 1000000;
update ad_field set entitytype = 'D' where entitytype='U' and AD_Field_id < 1000000;
update AD_Column set entitytype = 'D' where entitytype='U' and AD_Column_id < 1000000;
update AD_Val_Rule set entitytype = 'D' where entitytype='U' and AD_Val_Rule_id < 1000000;

View File

@ -0,0 +1,7 @@
update ad_element set entitytype = 'D' where entitytype='U' and AD_Element_id < 1000000;
update ad_field set entitytype = 'D' where entitytype='U' and AD_Field_id < 1000000;
update AD_Column set entitytype = 'D' where entitytype='U' and AD_Column_id < 1000000;
update AD_Val_Rule set entitytype = 'D' where entitytype='U' and AD_Val_Rule_id < 1000000;