Skip to content

Commit

Permalink
alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
isuru-aot committed Mar 21, 2024
1 parent 115fe71 commit 0a91197
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ CREATE TABLE IF NOT EXISTS mine_report_notification
ALTER TABLE mine_report_notification OWNER TO mds;

CREATE TEMP TABLE IF NOT EXISTS temp_article_section_email_mapping (
mapping_guid uuid DEFAULT gen_random_uuid(),
"section" varchar,
sub_section varchar,
paragraph varchar,
mapping_guid uuid DEFAULT gen_random_uuid(),
"section" varchar,
sub_section varchar,
paragraph varchar,
sub_paragraph varchar,
is_major boolean,
is_major boolean,
is_regional boolean,
email varchar
email varchar
);

INSERT INTO temp_article_section_email_mapping(
INSERT INTO temp_article_section_email_mapping(
"section",
sub_section,
paragraph,
sub_paragraph,
is_major,
is_regional,
email
paragraph,
sub_paragraph,
is_major,
is_regional,
email
)
values -- Mapping compliance_article(section,sub_section,paragraph,sub_paragraph) and mine detials: (is_major,is_regional,email): [email protected] is used as the default email
VALUES -- Mapping compliance_article(section,sub_section,paragraph,sub_paragraph) and mine detials: (is_major,is_regional,email): [email protected] is used as the default email
('1','6','4',NULL,'false','false','[email protected]'),
('1','6','4',NULL,'false','false','[email protected]'),
('1','6','5',NULL,'false','false','[email protected]'),
Expand Down Expand Up @@ -286,6 +286,6 @@ INSERT INTO mine_report_notification (

WHEN tmp.sub_section IS NOT NULL
THEN ca.sub_section = tmp.sub_section
END);
END);

drop table temp_article_section_email_mapping;
DROP TABLE temp_article_section_email_mapping;

0 comments on commit 0a91197

Please sign in to comment.