Remove geo:db:test:refresh_foreign_tables task

parent 5ad4d71c
......@@ -135,16 +135,6 @@ namespace :geo do
task purge: [:environment] do
Gitlab::Geo::DatabaseTasks::Test.purge
end
desc 'GitLab | Geo | DB | Test | Refresh Foreign Tables definition for test environment'
task refresh_foreign_tables: [:environment] do
old_env = ActiveRecord::Tasks::DatabaseTasks.env
ActiveRecord::Tasks::DatabaseTasks.env = 'test'
ns['geo:db:refresh_foreign_tables'].invoke
ActiveRecord::Tasks::DatabaseTasks.env = old_env
end
end
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