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
4bda9401
Commit
4bda9401
authored
8 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #4262 add column for sve
parent
e2af2702
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/trunk/sql/160.sql
+13
-0
13 additions, 0 deletions
core/trunk/sql/160.sql
core/trunk/sql/structure.sql
+4
-0
4 additions, 0 deletions
core/trunk/sql/structure.sql
with
17 additions
and
0 deletions
core/trunk/sql/160.sql
+
13
−
0
View file @
4bda9401
...
...
@@ -139,6 +139,18 @@ ALTER TABLE res_version_attachments DROP COLUMN IF EXISTS effective_date;
ALTER
TABLE
res_version_attachments
ADD
effective_date
timestamp
without
time
zone
;
-- ************************************************************************* --
-- NEW COLUMNS FOR SVE --
-- ************************************************************************* --
ALTER
TABLE
mlb_coll_ext
DROP
COLUMN
IF
EXISTS
sve_start_date
;
ALTER
TABLE
mlb_coll_ext
ADD
sve_start_date
timestamp
without
time
zone
;
ALTER
TABLE
mlb_coll_ext
DROP
COLUMN
IF
EXISTS
sve_identifier
;
ALTER
TABLE
mlb_coll_ext
ADD
sve_identifier
character
varying
(
255
);
ALTER
TABLE
mlb_coll_ext
DROP
COLUMN
IF
EXISTS
sve_type
;
ALTER
TABLE
mlb_coll_ext
ADD
sve_type
character
varying
(
255
);
-- ************************************************************************* --
-- NEW COLUMNS FOR CONTACTS --
-- ************************************************************************* --
...
...
@@ -220,6 +232,7 @@ CREATE VIEW res_view_letterbox AS
mlb
.
process_limit_date
,
mlb
.
closing_date
,
mlb
.
alarm1_date
,
mlb
.
alarm2_date
,
mlb
.
flag_notif
,
mlb
.
flag_alarm1
,
mlb
.
flag_alarm2
,
mlb
.
is_multicontacts
,
r
.
video_user
,
r
.
video_time
,
r
.
video_batch
,
r
.
subject
,
r
.
identifier
,
r
.
title
,
r
.
priority
,
mlb
.
process_notes
,
mlb
.
sve_start_date
,
mlb
.
sve_identifier
,
mlb
.
sve_type
,
r
.
locker_user_id
,
r
.
locker_time
,
ca
.
case_id
,
ca
.
case_label
,
ca
.
case_description
,
en
.
entity_label
,
en
.
entity_type
AS
entityType
,
cont
.
contact_id
AS
contact_id
,
...
...
This diff is collapsed.
Click to expand it.
core/trunk/sql/structure.sql
+
4
−
0
View file @
4bda9401
...
...
@@ -2047,6 +2047,9 @@ CREATE TABLE mlb_coll_ext (
nature_id
character
varying
(
50
),
alt_identifier
character
varying
(
255
)
default
NULL
,
admission_date
timestamp
without
time
zone
,
sve_start_date
timestamp
without
time
zone
default
NULL
,
sve_identifier
character
varying
(
255
)
default
NULL
,
sve_type
character
varying
(
255
)
default
NULL
,
answer_type_bitmask
character
varying
(
7
)
default
NULL
,
other_answer_desc
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
process_limit_date
timestamp
without
time
zone
default
NULL
,
...
...
@@ -3764,6 +3767,7 @@ CREATE VIEW res_view_letterbox AS
r
.
dest_user
,
r
.
confidentiality
,
mlb
.
category_id
,
mlb
.
exp_contact_id
,
mlb
.
exp_user_id
,
mlb
.
dest_user_id
,
mlb
.
dest_contact_id
,
mlb
.
address_id
,
mlb
.
nature_id
,
mlb
.
alt_identifier
,
mlb
.
admission_date
,
mlb
.
answer_type_bitmask
,
mlb
.
other_answer_desc
,
mlb
.
sve_start_date
,
mlb
.
sve_identifier
,
mlb
.
sve_type
,
mlb
.
process_limit_date
,
mlb
.
recommendation_limit_date
,
mlb
.
closing_date
,
mlb
.
alarm1_date
,
mlb
.
alarm2_date
,
mlb
.
flag_notif
,
mlb
.
flag_alarm1
,
mlb
.
flag_alarm2
,
mlb
.
is_multicontacts
,
r
.
video_user
,
r
.
video_time
,
r
.
video_batch
,
r
.
subject
,
r
.
identifier
,
r
.
title
,
r
.
priority
,
mlb
.
process_notes
,
...
...
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