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
376c2732
Verified
Commit
376c2732
authored
6 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #7721 SQL
parent
5ef322cf
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
sql/develop.sql
+24
-0
24 additions, 0 deletions
sql/develop.sql
with
24 additions
and
0 deletions
sql/develop.sql
+
24
−
0
View file @
376c2732
...
...
@@ -3,3 +3,27 @@
UPDATE
actions_groupbaskets
set
used_in_basketlist
=
'Y'
,
used_in_action_page
=
'Y'
WHERE
default_action_list
=
'Y'
;
UPDATE
actions_groupbaskets
set
used_in_action_page
=
'Y'
WHERE
used_in_basketlist
=
'N'
AND
used_in_action_page
=
'N'
;
DROP
TABLE
IF
EXISTS
contacts_groups
;
CREATE
TABLE
contacts_groups
(
id
serial
,
label
character
varying
(
32
)
NOT
NULL
,
description
character
varying
(
255
)
NOT
NULL
,
public
boolean
NOT
NULL
,
owner
integer
NOT
NULL
,
entity_owner
character
varying
(
32
)
NOT
NULL
,
CONSTRAINT
contacts_groups_pkey
PRIMARY
KEY
(
id
),
CONSTRAINT
contacts_groups_key
UNIQUE
(
label
,
owner
)
)
WITH
(
OIDS
=
FALSE
);
DROP
TABLE
IF
EXISTS
contacts_groups_lists
;
CREATE
TABLE
contacts_groups_lists
(
id
serial
,
contacts_groups_id
integer
NOT
NULL
,
contact_addresses_id
integer
NOT
NULL
,
CONSTRAINT
contacts_groups_lists_pkey
PRIMARY
KEY
(
id
),
CONSTRAINT
contacts_groups_lists_key
UNIQUE
(
contacts_groups_id
,
contact_addresses_id
)
)
WITH
(
OIDS
=
FALSE
);
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