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
c9610201
Verified
Commit
c9610201
authored
5 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #12224 TIME 0:05 Refactoring resource custom fields sql
parent
fba68aa9
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/structure.sql
+1
-11
1 addition, 11 deletions
sql/structure.sql
with
1 addition
and
11 deletions
sql/structure.sql
+
1
−
11
View file @
c9610201
...
@@ -993,6 +993,7 @@ CREATE TABLE res_letterbox
...
@@ -993,6 +993,7 @@ CREATE TABLE res_letterbox
flag_alarm2
char
(
1
)
default
'N'
::
character
varying
,
flag_alarm2
char
(
1
)
default
'N'
::
character
varying
,
address_id
bigint
,
address_id
bigint
,
model_id
integer
NOT
NULL
,
model_id
integer
NOT
NULL
,
custom_fields
jsonb
,
CONSTRAINT
res_letterbox_pkey
PRIMARY
KEY
(
res_id
)
CONSTRAINT
res_letterbox_pkey
PRIMARY
KEY
(
res_id
)
)
)
WITH
(
OIDS
=
FALSE
);
WITH
(
OIDS
=
FALSE
);
...
@@ -1418,17 +1419,6 @@ CREATE TABLE custom_fields
...
@@ -1418,17 +1419,6 @@ CREATE TABLE custom_fields
)
)
WITH
(
OIDS
=
FALSE
);
WITH
(
OIDS
=
FALSE
);
CREATE
TABLE
resources_custom_fields
(
id
serial
NOT
NULL
,
res_id
INTEGER
NOT
NULL
,
custom_field_id
INTEGER
NOT
NULL
,
value
jsonb
NOT
NULL
,
CONSTRAINT
resources_custom_fields_pkey
PRIMARY
KEY
(
id
),
CONSTRAINT
resources_custom_fields_unique_key
UNIQUE
(
res_id
,
custom_field_id
)
)
WITH
(
OIDS
=
FALSE
);
CREATE
TABLE
indexing_models
CREATE
TABLE
indexing_models
(
(
id
SERIAL
NOT
NULL
,
id
SERIAL
NOT
NULL
,
...
...
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