Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Database_Finance
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OA_Finance
Database_Finance
Commits
923a8ca2
Commit
923a8ca2
authored
4 months ago
by
wohlgemu
Browse files
Options
Downloads
Patches
Plain Diff
Add Trigger/Functions
parent
5a904442
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/Create_Table.sql
+10
-13
10 additions, 13 deletions
script/Create_Table.sql
with
10 additions
and
13 deletions
script/Create_Table.sql
+
10
−
13
View file @
923a8ca2
...
@@ -107,6 +107,16 @@ CREATE TRIGGER update_issuer_request
...
@@ -107,6 +107,16 @@ CREATE TRIGGER update_issuer_request
FOR
EACH
ROW
FOR
EACH
ROW
EXECUTE
FUNCTION
public
.
update_issuer
();
EXECUTE
FUNCTION
public
.
update_issuer
();
-- Trigger: trg_hybrid_cost
-- DROP TRIGGER IF EXISTS trg_hybrid_cost ON public.finance_request;
CREATE
OR
REPLACE
TRIGGER
trg_hybrid_cost
AFTER
INSERT
ON
public
.
finance_request
FOR
EACH
ROW
EXECUTE
FUNCTION
public
.
fnct_hybrid_cost
();
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
...
@@ -252,19 +262,6 @@ END;
...
@@ -252,19 +262,6 @@ END;
$
BODY
$
;
$
BODY
$
;
-- Trigger: update_issuer_cost
-- DROP TRIGGER IF EXISTS update_issuer_cost ON public.finance_cost;
CREATE
TRIGGER
update_issuer_cost
BEFORE
UPDATE
ON
public
.
finance_cost
FOR
EACH
ROW
EXECUTE
FUNCTION
public
.
update_issuer
();
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment