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
7238f067
Commit
7238f067
authored
9 years ago
by
Florian Azizian
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #3188 Update 150 to 151 sql
parent
ac77c7f6
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/sql/150_to_151.sql
+3
-10
3 additions, 10 deletions
core/trunk/sql/150_to_151.sql
with
3 additions
and
10 deletions
core/trunk/sql/150_to_151.sql
+
3
−
10
View file @
7238f067
...
@@ -6,7 +6,9 @@ DROP VIEW IF EXISTS view_contacts;
...
@@ -6,7 +6,9 @@ DROP VIEW IF EXISTS view_contacts;
DROP
VIEW
IF
EXISTS
res_view_attachments
;
DROP
VIEW
IF
EXISTS
res_view_attachments
;
ALTER
table
contact_types
ADD
COLUMN
can_add_contact
character
varying
(
1
)
NOT
NULL
DEFAULT
'Y'
::
character
varying
,
ALTER
TABLE
contact_types
DROP
COLUMN
IF
EXISTS
can_add_contact
;
ALTER
TABLE
contact_types
DROP
COLUMN
IF
EXISTS
contact_target
;
ALTER
TABLE
contact_types
ADD
COLUMN
can_add_contact
character
varying
(
1
)
NOT
NULL
DEFAULT
'Y'
::
character
varying
,
ADD
COLUMN
contact_target
character
varying
(
50
);
ADD
COLUMN
contact_target
character
varying
(
50
);
-- ************************************************************************* --
-- ************************************************************************* --
...
@@ -23,32 +25,23 @@ CREATE TABLE res_mark_as_read
...
@@ -23,32 +25,23 @@ CREATE TABLE res_mark_as_read
);
);
ALTER
TABLE
entities
DROP
COLUMN
IF
EXISTS
ldap_id
;
ALTER
TABLE
entities
DROP
COLUMN
IF
EXISTS
ldap_id
;
ALTER
TABLE
entities
ADD
ldap_id
character
varying
(
255
);
ALTER
TABLE
entities
ADD
ldap_id
character
varying
(
255
);
ALTER
TABLE
baskets
DROP
COLUMN
IF
EXISTS
basket_order
;
ALTER
TABLE
baskets
DROP
COLUMN
IF
EXISTS
basket_order
;
ALTER
TABLE
baskets
ADD
basket_order
integer
;
ALTER
TABLE
baskets
ADD
basket_order
integer
;
ALTER
TABLE
sendmail
DROP
COLUMN
IF
EXISTS
sender_email
;
ALTER
TABLE
sendmail
DROP
COLUMN
IF
EXISTS
sender_email
;
ALTER
TABLE
sendmail
ADD
COLUMN
sender_email
varchar
(
255
);
ALTER
TABLE
sendmail
ADD
COLUMN
sender_email
varchar
(
255
);
ALTER
TABLE
users
DROP
COLUMN
IF
EXISTS
initials
;
ALTER
TABLE
users
DROP
COLUMN
IF
EXISTS
initials
;
ALTER
TABLE
users
ADD
COLUMN
initials
character
varying
(
32
);
ALTER
TABLE
users
ADD
COLUMN
initials
character
varying
(
32
);
-- ************************************************************************* --
-- ************************************************************************* --
-- RECREATE VIEWS --
-- RECREATE VIEWS --
-- ************************************************************************* --
-- ************************************************************************* --
-- view for letterbox
-- view for letterbox
CREATE
VIEW
res_view_letterbox
AS
CREATE
VIEW
res_view_letterbox
AS
SELECT
r
.
tablename
,
r
.
is_multi_docservers
,
r
.
res_id
,
r
.
type_id
,
r
.
policy_id
,
r
.
cycle_id
,
SELECT
r
.
tablename
,
r
.
is_multi_docservers
,
r
.
res_id
,
r
.
type_id
,
r
.
policy_id
,
r
.
cycle_id
,
...
...
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