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
deecd824
Commit
deecd824
authored
5 years ago
by
Guillaume Heurtier
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #11454 TIME 0:30 added users_pinned_folders
parent
183b161d
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
migration/19.12/1912.sql
+11
-0
11 additions, 0 deletions
migration/19.12/1912.sql
sql/structure.sql
+10
-0
10 additions, 0 deletions
sql/structure.sql
with
21 additions
and
0 deletions
migration/19.12/1912.sql
+
11
−
0
View file @
deecd824
...
@@ -114,6 +114,17 @@ CREATE TABLE entities_folders
...
@@ -114,6 +114,17 @@ CREATE TABLE entities_folders
)
)
WITH
(
OIDS
=
FALSE
);
WITH
(
OIDS
=
FALSE
);
DROP
TABLE
IF
EXISTS
users_pinned_folders
;
CREATE
TABLE
users_pinned_folders
(
id
serial
NOT
NULL
,
folder_id
INTEGER
NOT
NULL
,
user_id
INTEGER
NOT
NULL
,
CONSTRAINT
users_pinned_folders_pkey
PRIMARY
KEY
(
id
),
CONSTRAINT
users_pinned_folders_unique_key
UNIQUE
(
folder_id
,
user_id
)
)
WITH
(
OIDS
=
FALSE
);
/* CUSTOM FIELDS */
/* CUSTOM FIELDS */
DROP
TABLE
IF
EXISTS
custom_fields
;
DROP
TABLE
IF
EXISTS
custom_fields
;
...
...
This diff is collapsed.
Click to expand it.
sql/structure.sql
+
10
−
0
View file @
deecd824
...
@@ -557,6 +557,16 @@ CREATE TABLE entities_folders
...
@@ -557,6 +557,16 @@ CREATE TABLE entities_folders
)
)
WITH
(
OIDS
=
FALSE
);
WITH
(
OIDS
=
FALSE
);
CREATE
TABLE
users_pinned_folders
(
id
serial
NOT
NULL
,
folder_id
INTEGER
NOT
NULL
,
user_id
INTEGER
NOT
NULL
,
CONSTRAINT
users_pinned_folders_pkey
PRIMARY
KEY
(
id
),
CONSTRAINT
users_pinned_folders_unique_key
UNIQUE
(
folder_id
,
user_id
)
)
WITH
(
OIDS
=
FALSE
);
-- modules/life_cycle/sql/structure/life_cycle.postgresql.sql
-- modules/life_cycle/sql/structure/life_cycle.postgresql.sql
CREATE
TABLE
lc_policies
CREATE
TABLE
lc_policies
...
...
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