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
999dc419
Verified
Commit
999dc419
authored
6 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
FEAT new indexes for version
parent
08cbdd47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/index_creation.sql
+8
-0
8 additions, 0 deletions
sql/index_creation.sql
with
8 additions
and
0 deletions
sql/index_creation.sql
+
8
−
0
View file @
999dc419
...
...
@@ -9,15 +9,19 @@ CREATE INDEX dest_user_idx ON res_letterbox (dest_user);
CREATE
INDEX
custom_t15_idx
ON
res_letterbox
(
custom_t15
);
CREATE
INDEX
res_letterbox_docserver_id_idx
ON
res_letterbox
(
docserver_id
);
CREATE
INDEX
res_letterbox_filename_idx
ON
res_letterbox
(
filename
);
CREATE
INDEX
res_departure_date_idx
ON
res_letterbox
(
departure_date
);
CREATE
INDEX
res_barcode_idx
ON
res_letterbox
(
barcode
);
-- res_attachments
CREATE
INDEX
res_id_idx
ON
res_attachments
(
res_id
);
CREATE
INDEX
res_id_master_idx
ON
res_attachments
(
res_id_master
);
CREATE
INDEX
res_att_external_id_idx
ON
res_attachments
(
external_id
);
-- res_version_attachments
CREATE
INDEX
res_id_version_attachments_idx
ON
res_version_attachments
(
res_id
);
CREATE
INDEX
res_id_master_version_attachments_idx
ON
res_version_attachments
(
res_id_master
);
CREATE
INDEX
attachment_id_master_idx
ON
res_version_attachments
(
attachment_id_master
);
CREATE
INDEX
res_vers_external_id_idx
ON
res_version_attachments
(
external_id
);
-- mlb_coll_ext
CREATE
INDEX
category_id_idx
ON
mlb_coll_ext
(
category_id
);
...
...
@@ -54,6 +58,7 @@ CREATE INDEX description_idx ON doctypes (description);
-- entities
CREATE
INDEX
entity_label_idx
ON
entities
(
entity_label
);
CREATE
INDEX
entity_id_idx
ON
entities
(
entity_id
);
CREATE
INDEX
entity_folder_import_idx
ON
entities
(
folder_import
);
-- folders
CREATE
INDEX
folders_system_id_folders_idx
ON
folders
(
folders_system_id
);
...
...
@@ -97,3 +102,6 @@ CREATE INDEX object_id_listmodels_idx ON listmodels (object_id);
-- contact_addresses
CREATE
INDEX
contact_id_contact_addresses_idx
ON
contact_addresses
(
contact_id
);
-- resource_contacts
CREATE
INDEX
resource_contacts_res_id_idx
ON
resource_contacts
(
res_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