Sha256: e2e3b26bebb7c5b023b6b9e7c3853bc650f46bddd8663241c266f61a69c09b50
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
# frozen_string_literal: true require 'rake' module PhobosDBCheckpoint module Tasks extend Rake::DSL if defined? Rake::DSL namespace :db do task :environment do PhobosDBCheckpoint.configure end task :load_config do PhobosDBCheckpoint.load_db_config task_db_config = Hash[PhobosDBCheckpoint.env, PhobosDBCheckpoint.db_config] ActiveRecord::Tasks::DatabaseTasks.database_configuration = task_db_config end end load 'active_record/railties/databases.rake' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phobos_db_checkpoint-3.4.0 | lib/phobos_db_checkpoint/tasks.rb |