mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-20 14:52:00 +02:00
19.0 vanilla
This commit is contained in:
parent
5faf7397c5
commit
2696f14ed7
721 changed files with 220375 additions and 91221 deletions
|
|
@ -1 +1,9 @@
|
|||
UPDATE iap_account SET account_token = REGEXP_REPLACE(account_token, '(\+.*)?$', '+disabled');
|
||||
-- happy path
|
||||
UPDATE iap_account
|
||||
SET account_token = REGEXP_REPLACE(account_token, '(\+.*)?$', '+disabled')
|
||||
WHERE LENGTH(account_token) <= 33;
|
||||
-- Legacy (invalid) records (pre v17)
|
||||
UPDATE iap_account
|
||||
SET account_token = 'dummy_value+disabled'
|
||||
WHERE LENGTH(account_token) > 33
|
||||
AND account_token NOT LIKE '%+disabled';
|
||||
Loading…
Add table
Add a link
Reference in a new issue