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
1578cf56
Commit
1578cf56
authored
11 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
evo:
#632
parent
0b9b0bd5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/trunk/index_creation.sql
+29
-0
29 additions, 0 deletions
core/trunk/index_creation.sql
core/trunk/structure.sql
+10
-10
10 additions, 10 deletions
core/trunk/structure.sql
with
39 additions
and
10 deletions
core/trunk/index_creation.sql
+
29
−
0
View file @
1578cf56
...
...
@@ -8,6 +8,21 @@ CREATE INDEX destination_idx ON res_letterbox (destination);
CREATE
INDEX
dest_user_idx
ON
res_letterbox
(
dest_user
);
CREATE
INDEX
custom_t15_idx
ON
res_letterbox
(
custom_t15
);
-- res_business
CREATE
INDEX
business_type_id_idx
ON
res_business
(
type_id
);
CREATE
INDEX
business_typist_idx
ON
res_business
(
typist
);
CREATE
INDEX
business_doc_date_idx
ON
res_business
(
doc_date
);
CREATE
INDEX
business_folders_system_id_idx
ON
res_business
(
folders_system_id
);
CREATE
INDEX
business_status_idx
ON
res_business
(
status
);
CREATE
INDEX
business_destination_idx
ON
res_business
(
destination
);
CREATE
INDEX
business_dest_user_idx
ON
res_business
(
dest_user
);
CREATE
INDEX
business_custom_t1_idx
ON
res_business
(
custom_t1
);
CREATE
INDEX
business_custom_t2_idx
ON
res_business
(
custom_t2
);
CREATE
INDEX
business_custom_t3_idx
ON
res_business
(
custom_t3
);
CREATE
INDEX
business_custom_t4_idx
ON
res_business
(
custom_t4
);
CREATE
INDEX
business_custom_t5_idx
ON
res_business
(
custom_t5
);
CREATE
INDEX
business_custom_t6_idx
ON
res_business
(
custom_t6
);
-- res_attachments
CREATE
INDEX
res_id_master_idx
ON
res_attachments
(
res_id_master
);
...
...
@@ -20,14 +35,22 @@ CREATE INDEX dest_user_id_idx ON mlb_coll_ext (dest_user_id);
CREATE
INDEX
admission_date_idx
ON
mlb_coll_ext
(
admission_date
);
CREATE
INDEX
process_limit_date_idx
ON
mlb_coll_ext
(
process_limit_date
);
-- business_coll_ext
CREATE
INDEX
business_category_id_idx
ON
business_coll_ext
(
category_id
);
CREATE
INDEX
business_contact_id
ON
business_coll_ext
(
contact_id
);
CREATE
INDEX
business_total_sum
ON
business_coll_ext
(
total_sum
);
-- listinstance
CREATE
INDEX
res_id_listinstance_idx
ON
listinstance
(
res_id
);
CREATE
INDEX
listinstance_coll_id_idx
ON
listinstance
(
coll_id
);
CREATE
INDEX
sequence_idx
ON
listinstance
(
sequence
);
CREATE
INDEX
item_id_idx
ON
listinstance
(
item_id
);
CREATE
INDEX
item_type_idx
ON
listinstance
(
item_type
);
CREATE
INDEX
item_mode_idx
ON
listinstance
(
item_mode
);
CREATE
INDEX
listinstance_difflist_type_idx
ON
listinstance
(
difflist_type
);
-- contacts
CREATE
INDEX
firstname_contacts_idx
ON
contacts
(
firstname
);
CREATE
INDEX
lastname_contacts_idx
ON
contacts
(
lastname
);
CREATE
INDEX
society_idx
ON
contacts
(
society
);
...
...
@@ -47,6 +70,12 @@ CREATE INDEX entity_label_idx ON entities (entity_label);
CREATE
INDEX
folder_name_idx
ON
folders
(
folder_name
);
CREATE
INDEX
subject_idx
ON
folders
(
subject
);
-- groupbasket_redirect
CREATE
INDEX
groupbasket_redirect_group_id_idx
ON
groupbasket_redirect
(
group_id
);
CREATE
INDEX
groupbasket_redirect_basket_id_idx
ON
groupbasket_redirect
(
basket_id
);
CREATE
INDEX
groupbasket_redirect_action_id_idx
ON
groupbasket_redirect
(
action_id
);
CREATE
INDEX
groupbasket_redirect_entity_id_idx
ON
groupbasket_redirect
(
entity_id
);
-- history
CREATE
INDEX
table_name_idx
ON
history
(
table_name
);
CREATE
INDEX
record_id_idx
ON
history
(
record_id
);
...
...
This diff is collapsed.
Click to expand it.
core/trunk/structure.sql
+
10
−
10
View file @
1578cf56
...
...
@@ -17,7 +17,7 @@ CREATE SEQUENCE actions_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
2
00
START
4
00
CACHE
1
;
CREATE
TABLE
actions
...
...
@@ -97,7 +97,7 @@ CREATE SEQUENCE doctypes_type_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
2
00
START
4
00
CACHE
1
;
CREATE
TABLE
doctypes
...
...
@@ -211,7 +211,7 @@ CREATE SEQUENCE security_security_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
00
START
5
00
CACHE
1
;
CREATE
TABLE
"security"
...
...
@@ -867,7 +867,7 @@ CREATE SEQUENCE groupbasket_redirect_system_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
2
00
START
5
00
CACHE
1
;
CREATE
TABLE
groupbasket_redirect
...
...
@@ -890,7 +890,7 @@ CREATE SEQUENCE folders_system_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
100
START
100
00
CACHE
1
;
CREATE
TABLE
folders
...
...
@@ -978,7 +978,7 @@ CREATE SEQUENCE foldertype_id_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
00
START
2
00
CACHE
1
;
CREATE
TABLE
foldertypes
...
...
@@ -1173,7 +1173,7 @@ CREATE SEQUENCE notifications_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
2
0
START
10
0
CACHE
1
;
CREATE
TABLE
notifications
...
...
@@ -1461,7 +1461,7 @@ CREATE SEQUENCE contact_id_seq
INCREMENT
1
MINVALUE
14
MAXVALUE
9223372036854775807
START
13
0
START
20
0
CACHE
1
;
CREATE
TABLE
contacts
(
...
...
@@ -1516,7 +1516,7 @@ CREATE SEQUENCE doctypes_first_level_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
00
START
2
00
CACHE
1
;
CREATE
TABLE
doctypes_first_level
...
...
@@ -1533,7 +1533,7 @@ CREATE SEQUENCE doctypes_second_level_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
00
START
2
00
CACHE
1
;
CREATE
TABLE
doctypes_second_level
...
...
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