Commit feecc08a authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'pb-load-environment-for-db-rake-tasks' into 'master'

Load env for `gitlab:db:create_dynamic_partitions`

See merge request gitlab-org/gitlab!65087
parents be408943 d61a7ba0
......@@ -114,7 +114,7 @@ namespace :gitlab do
end
desc 'Create missing dynamic database partitions'
task :create_dynamic_partitions do
task create_dynamic_partitions: :environment do
Gitlab::Database::Partitioning::PartitionCreator.new.create_partitions
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment