Skip to content

Commit e3554d0

Browse files
committed
chore(OUT-2228): add query to replace static autofill initial with dynamic placeholder
1 parent 048e96e commit e3554d0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • scripts/replace-autofill-with-placeholders
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- Script to replace ALL OCCURANCES of {{client.custom-field-name}} with {{__client__.custom-field-name}}
2+
-- __client__ is used as a dynamic placeholder for custom terminologies
3+
UPDATE "Setting"
4+
SET content = REPLACE(content, '{{client.', '{{__client__.')
5+
WHERE content LIKE '%{{client.%';

0 commit comments

Comments
 (0)