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: c42723e8a982c889a45c47045f226c41f567faa7f8c171bb550f1edfbeb2fecc
4
- data.tar.gz: bc71319400ef3447fee1c0f26639ae2ee27e7373aaf758a5462ca7ea8767454c
3
+ metadata.gz: 69e1a863354d1451d060b1c8bb4eea5b02e86c486863a174c74db27f8f434480
4
+ data.tar.gz: e05fcb0a28d3b878f8e2063f5e67586afad3a35c4f4ed7e655f928798ffe28d4
5
5
  SHA512:
6
- metadata.gz: 2ee2b8820f8ac2b3ad6e236091e48cc78d7134d8247d7e4a508931fd9b897755252aab9d49ef3974a52337b9635ddca4c72cdfa90ef9cf5ba3c078c7db916a95
7
- data.tar.gz: f90d04bb01fc38fdec5a47b4a6375ed7db773dbb89b609a78e0764994437dece7e8346571ac1b872adcc87f5fe4d81d39bed817d6a39103190cb8358b04c910e
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'
@@ -1,5 +1,6 @@
1
1
  class CreateBridgeCacheHosts < ActiveRecord::Migration[5.1]
2
2
  def change
3
+ return unless BridgeCache.use_internal_database
3
4
  create_table :bridge_cache_hosts do |t|
4
5
  t.integer :bridge_id, limit: 8, index: true
5
6
  t.integer :domain_id, limit: 8, index: true
@@ -1,3 +1,3 @@
1
1
  module BridgeCache
2
- VERSION = '0.3.5'.freeze
2
+ VERSION = '0.3.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridge_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - jshaffer