Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1f4c4065
Commit
1f4c4065
authored
Jan 24, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate the warnings for database
parent
8e87ecbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
lib/tasks/migrate/setup_postgresql.rake
lib/tasks/migrate/setup_postgresql.rake
+9
-11
No files found.
lib/tasks/migrate/setup_postgresql.rake
View file @
1f4c4065
require
Rails
.
root
.
join
(
'lib/gitlab/database'
)
require
Rails
.
root
.
join
(
'lib/gitlab/database/migration_helpers'
)
require
Rails
.
root
.
join
(
'db/migrate/20151007120511_namespaces_projects_path_lower_indexes'
)
require
Rails
.
root
.
join
(
'db/migrate/20151008110232_add_users_lower_username_email_indexes'
)
require
Rails
.
root
.
join
(
'db/migrate/20161212142807_add_lower_path_index_to_routes'
)
require
Rails
.
root
.
join
(
'db/migrate/20170317203554_index_routes_path_for_like'
)
require
Rails
.
root
.
join
(
'db/migrate/20170724214302_add_lower_path_index_to_redirect_routes'
)
require
Rails
.
root
.
join
(
'db/migrate/20170503185032_index_redirect_routes_path_for_like'
)
require
Rails
.
root
.
join
(
'db/migrate/20171220191323_add_index_on_namespaces_lower_name.rb'
)
require
Rails
.
root
.
join
(
'db/migrate/20180113220114_rework_redirect_routes_indexes.rb'
)
desc
'GitLab | Sets up PostgreSQL'
task
setup_postgresql: :environment
do
require
Rails
.
root
.
join
(
'db/migrate/20151007120511_namespaces_projects_path_lower_indexes'
)
require
Rails
.
root
.
join
(
'db/migrate/20151008110232_add_users_lower_username_email_indexes'
)
require
Rails
.
root
.
join
(
'db/migrate/20161212142807_add_lower_path_index_to_routes'
)
require
Rails
.
root
.
join
(
'db/migrate/20170317203554_index_routes_path_for_like'
)
require
Rails
.
root
.
join
(
'db/migrate/20170724214302_add_lower_path_index_to_redirect_routes'
)
require
Rails
.
root
.
join
(
'db/migrate/20170503185032_index_redirect_routes_path_for_like'
)
require
Rails
.
root
.
join
(
'db/migrate/20171220191323_add_index_on_namespaces_lower_name.rb'
)
require
Rails
.
root
.
join
(
'db/migrate/20180113220114_rework_redirect_routes_indexes.rb'
)
NamespacesProjectsPathLowerIndexes
.
new
.
up
AddUsersLowerUsernameEmailIndexes
.
new
.
up
AddLowerPathIndexToRoutes
.
new
.
up
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment