IDEMPIERE-5168 column AD_AuthorizationAccount.AccessToken is short on some case - fix oracle script when table has data (#1210)
This commit is contained in:
parent
2d70269daf
commit
2bd20ff26e
|
@ -23,8 +23,10 @@ UPDATE AD_Column SET FieldLength=0, AD_Reference_ID=14,Updated=TO_DATE('2022-01-
|
|||
;
|
||||
|
||||
-- Jan 30, 2022, 11:33:02 PM CET
|
||||
ALTER TABLE AD_AuthorizationAccount MODIFY AccessToken LONG DEFAULT NULL
|
||||
;
|
||||
ALTER TABLE AD_AuthorizationAccount ADD Tmp_AccessToken LONG DEFAULT NULL;
|
||||
UPDATE AD_AuthorizationAccount SET Tmp_AccessToken = AccessToken;
|
||||
ALTER TABLE AD_AuthorizationAccount DROP COLUMN AccessToken;
|
||||
ALTER TABLE AD_AuthorizationAccount RENAME COLUMN Tmp_AccessToken TO AccessToken;
|
||||
|
||||
ALTER TABLE AD_AuthorizationAccount MODIFY AccessToken CLOB DEFAULT NULL
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue