Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
ac3eb6e2
Commit
ac3eb6e2
authored
12 years ago
by
Cyril Vazquez
Browse files
Options
Downloads
Patches
Plain Diff
Event stack operation now done by function in notifications/events_controler
parent
f13b3484
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
core/trunk/structure.sql
+32
-11
32 additions, 11 deletions
core/trunk/structure.sql
with
32 additions
and
11 deletions
core/trunk/structure.sql
+
32
−
11
View file @
ac3eb6e2
...
@@ -1134,6 +1134,31 @@ WITH (OIDS=FALSE);
...
@@ -1134,6 +1134,31 @@ WITH (OIDS=FALSE);
-- modules/notes/sql/structure/notifications.postgresql.sql
-- modules/notes/sql/structure/notifications.postgresql.sql
CREATE
SEQUENCE
notifications_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
CACHE
1
;
CREATE
TABLE
notifications
(
notification_sid
bigint
NOT
NULL
DEFAULT
nextval
(
'notifications_seq'
::
regclass
),
notification_id
character
varying
(
50
)
NOT
NULL
,
description
character
varying
(
255
),
event_id
character
varying
(
255
)
NOT
NULL
,
notification_mode
character
varying
(
30
)
NOT
NULL
,
template_id
bigint
,
diffusion_type
character
varying
(
50
)
NOT
NULL
,
diffusion_properties
character
varying
(
255
),
attachfor_type
character
varying
(
50
),
attachfor_properties
character
varying
(
255
),
CONSTRAINT
notifications_pkey
PRIMARY
KEY
(
notification_sid
)
)
WITH
(
OIDS
=
FALSE
);
CREATE
SEQUENCE
notif_event_stack_seq
CREATE
SEQUENCE
notif_event_stack_seq
INCREMENT
1
INCREMENT
1
...
@@ -1142,10 +1167,11 @@ CREATE SEQUENCE notif_event_stack_seq
...
@@ -1142,10 +1167,11 @@ CREATE SEQUENCE notif_event_stack_seq
START
1
START
1
CACHE
1
;
CACHE
1
;
-- DROP TABLE notif_event_stack
CREATE
TABLE
notif_event_stack
CREATE
TABLE
notif_event_stack
(
(
system_
id
bigint
NOT
NULL
DEFAULT
nextval
(
'notif_event_stack_seq'
::
regclass
),
event_stack_s
id
bigint
NOT
NULL
DEFAULT
nextval
(
'notif_event_stack_seq'
::
regclass
),
ta
_sid
bigint
NOT
NULL
,
notif
_sid
bigint
NOT
NULL
,
table_name
character
varying
(
50
)
NOT
NULL
,
table_name
character
varying
(
50
)
NOT
NULL
,
record_id
character
varying
(
50
)
NOT
NULL
,
record_id
character
varying
(
50
)
NOT
NULL
,
user_id
character
varying
(
128
)
NOT
NULL
,
user_id
character
varying
(
128
)
NOT
NULL
,
...
@@ -1153,7 +1179,7 @@ CREATE TABLE notif_event_stack
...
@@ -1153,7 +1179,7 @@ CREATE TABLE notif_event_stack
event_date
timestamp
without
time
zone
NOT
NULL
,
event_date
timestamp
without
time
zone
NOT
NULL
,
exec_date
timestamp
without
time
zone
,
exec_date
timestamp
without
time
zone
,
exec_result
character
varying
(
50
),
exec_result
character
varying
(
50
),
CONSTRAINT
notif_event_stack_pkey
PRIMARY
KEY
(
system_
id
)
CONSTRAINT
notif_event_stack_pkey
PRIMARY
KEY
(
event_stack_s
id
)
)
)
WITH
(
WITH
(
OIDS
=
FALSE
OIDS
=
FALSE
...
@@ -1166,9 +1192,10 @@ CREATE SEQUENCE notif_email_stack_seq
...
@@ -1166,9 +1192,10 @@ CREATE SEQUENCE notif_email_stack_seq
START
1
START
1
CACHE
1
;
CACHE
1
;
-- DROP TABLE notif_email_stack
CREATE
TABLE
notif_email_stack
CREATE
TABLE
notif_email_stack
(
(
system_
id
bigint
NOT
NULL
DEFAULT
nextval
(
'notif_email_stack_seq'
::
regclass
),
email_stack_s
id
bigint
NOT
NULL
DEFAULT
nextval
(
'notif_email_stack_seq'
::
regclass
),
sender
character
varying
(
255
)
NOT
NULL
,
sender
character
varying
(
255
)
NOT
NULL
,
reply_to
character
varying
(
255
),
reply_to
character
varying
(
255
),
recipient
character
varying
(
2000
)
NOT
NULL
,
recipient
character
varying
(
2000
)
NOT
NULL
,
...
@@ -1182,7 +1209,7 @@ CREATE TABLE notif_email_stack
...
@@ -1182,7 +1209,7 @@ CREATE TABLE notif_email_stack
module
character
varying
(
50
)
NOT
NULL
,
module
character
varying
(
50
)
NOT
NULL
,
exec_date
timestamp
without
time
zone
,
exec_date
timestamp
without
time
zone
,
exec_result
character
varying
(
50
),
exec_result
character
varying
(
50
),
CONSTRAINT
notif_email_stack_pkey
PRIMARY
KEY
(
system_
id
)
CONSTRAINT
notif_email_stack_pkey
PRIMARY
KEY
(
email_stack_s
id
)
)
)
WITH
(
WITH
(
OIDS
=
FALSE
OIDS
=
FALSE
...
@@ -1375,12 +1402,6 @@ CREATE TABLE templates_association
...
@@ -1375,12 +1402,6 @@ CREATE TABLE templates_association
what
character
varying
(
255
)
NOT
NULL
,
what
character
varying
(
255
)
NOT
NULL
,
value_field
character
varying
(
255
)
NOT
NULL
,
value_field
character
varying
(
255
)
NOT
NULL
,
maarch_module
character
varying
(
255
)
NOT
NULL
DEFAULT
'apps'
::
character
varying
,
maarch_module
character
varying
(
255
)
NOT
NULL
DEFAULT
'apps'
::
character
varying
,
notification_id
character
varying
(
50
),
description
character
varying
(
255
),
diffusion_type
character
varying
(
50
),
diffusion_properties
character
varying
(
255
),
attachfor_type
character
varying
(
50
),
attachfor_properties
character
varying
(
255
),
CONSTRAINT
templates_association_pkey
PRIMARY
KEY
(
system_id
)
CONSTRAINT
templates_association_pkey
PRIMARY
KEY
(
system_id
)
)
)
WITH
(
WITH
(
...
...
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