activerecord-turntable 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf0ede019f3de7c07755243eef39d924ba553535
|
4
|
+
data.tar.gz: 7790c3e307778292759c3683c5381b7f1c8c1525
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22af41085ea74b9b442dec5f7e26b5ddff9086e404486ec6e16c2b56dd2febd333d90b29dfcc912b3d409cec185a1970577db66deead6827dcc3787ff2b1787c
|
7
|
+
data.tar.gz: 2b5292a67a7c018733515d79fb52ce3ee0474d7b67a551d5f6be159643c780f1187a336caf1b5bbed46651c49b6a37d514b963baed8b7512fe931228ebeb1ae4
|
data/CHANGELOG.md
CHANGED
@@ -78,7 +78,7 @@ db_namespace = namespace :db do
|
|
78
78
|
task :dump do
|
79
79
|
current_config = ActiveRecord::Tasks::DatabaseTasks.current_config
|
80
80
|
shard_configs = current_config["shards"]
|
81
|
-
shard_configs.merge!(
|
81
|
+
shard_configs.merge!(current_config["seq"]) if current_config["seq"]
|
82
82
|
if shard_configs
|
83
83
|
shard_configs.each do |name, config|
|
84
84
|
next unless config["database"]
|
@@ -101,7 +101,7 @@ db_namespace = namespace :db do
|
|
101
101
|
task :load do
|
102
102
|
current_config = ActiveRecord::Tasks::DatabaseTasks.current_config
|
103
103
|
shard_configs = current_config["shards"]
|
104
|
-
shard_configs.merge!(
|
104
|
+
shard_configs.merge!(current_config["seq"]) if current_config["seq"]
|
105
105
|
if shard_configs
|
106
106
|
shard_configs.each do |name, config|
|
107
107
|
next unless config["database"]
|