bridge_cache 0.3.5 → 0.3.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e1a863354d1451d060b1c8bb4eea5b02e86c486863a174c74db27f8f434480
|
4
|
+
data.tar.gz: e05fcb0a28d3b878f8e2063f5e67586afad3a35c4f4ed7e655f928798ffe28d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 127695f387295aee8f58a1a2451a014a77da732f7789bcf3187a72eab43eee4a631c667c6b10040c50b24b0f512798e90f034bdca758ce96a61670808433767e
|
7
|
+
data.tar.gz: e9bfa33a5593b1c0d7262a33c2e2752cc57198a3b1c628049fbc7f8e7070611d2bd6093807792f3370a0761564afbbb0c59e957a59f7d6b490132a2fc74e7817
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class AddUniqConstraints < ActiveRecord::Migration[5.1]
|
2
2
|
def change
|
3
|
+
return unless BridgeCache.use_internal_database
|
3
4
|
add_unique_constraint :bridge_cache_affiliated_sub_accounts, %i[bridge_id domain_id], deferrable: false, name: 'bridge_cache_affiliated_sub_accounts_bridge_uniq'
|
4
5
|
add_unique_constraint :bridge_cache_course_templates, %i[bridge_id sub_account_id], deferrable: false, name: 'bridge_cache_course_templates_bridge_uniq'
|
5
6
|
add_unique_constraint :bridge_cache_custom_fields, %i[bridge_id domain_id], deferrable: false, name: 'bridge_cache_custom_fields_bridge_uniq'
|
data/lib/bridge_cache/version.rb
CHANGED