Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from lalithkota/patch-1
Browse files Browse the repository at this point in the history
Deconstruct Strategy for email fixed
  • Loading branch information
shibu-narayanan authored Mar 4, 2024
2 parents dcec857 + 07b4876 commit 3e95142
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db_scripts/0.1.0/dml/01.data.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (1, 'account:{account_no}@{branch}.{bank}.{type}', '^account:(?P<account_no>.[^.]*)@(?P<branch>.[^.]*)\.(?P<bank>.[^.]*)\.(?P<type>.*)$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (2, 'account:{phone}@{wallet}.{type}', '^account:(?P<phone>.[^.]*)@(?P<wallet>.[^.]*)\.(?P<type>.[^.]*)$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (3, 'email:{email}.{type}', '^email:(?P<email>.[^.]*)(?P<type>.[^.]*)$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (4, 'token:{sub}@nationalId', '^token:(?P<sub>.[^.]*)@nationalId$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (2, 'account:{phone}@{wallet}.{type}', '^account:(?P<phone>.[^.]*)@(?P<wallet>.[^.]*)\.(?P<type>.[^.]*)$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (3, 'email:{email}.{type}', '^email:(?P<email>.*)\.(?P<type>.[^.]*)$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
INSERT INTO fa_construct_strategy (id, strategy, deconstruct_strategy, created_at, updated_at, active) VALUES (4, 'token:{sub}@nationalId', '^token:(?P<sub>.[^.]*)@nationalId$', CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;


INSERT INTO dfsp_providers (id, name, description, code, strategy_id, created_at, updated_at, active) VALUES (1, 'Bank 1', 'Bank 1', 'dfsp1', 1, CURRENT_TIMESTAMP, NULL, true) ON CONFLICT DO NOTHING;
Expand Down

0 comments on commit 3e95142

Please sign in to comment.