Skip to content

Commit

Permalink
Fix: DatabaseTasks.env is RackupFramework.env
Browse files Browse the repository at this point in the history
matsubara0507 committed Nov 6, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent bee9980 commit 6172acf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -3,6 +3,10 @@
module ActiveRecord
module Tasks
module DatabaseTasks
def env
@env ||= ActiveRecord::Turntable::RackupFramework.env
end

def create_all_turntable_cluster
each_local_turntable_cluster_configuration { |name, configuration|
puts "[turntable] *** executing to database: #{configuration['database']}"

0 comments on commit 6172acf

Please sign in to comment.