Sha256: f901ca5ffa70bb9a9eb058835549f52e26cfba97cd2842d99761b8240bb2e69b

Contents?: true

Size: 436 Bytes

Versions: 15

Compression:

Stored size: 436 Bytes

Contents

class CreateBridgeCacheHosts < ActiveRecord::Migration[5.1]
  def change
    return unless BridgeCache.use_internal_database

    create_table :bridge_cache_hosts do |t|
      t.integer :bridge_id, limit: 8, index: true
      t.integer :domain_id, limit: 8, index: true
      t.string :subdomain
      t.string :vanity_domain
      t.string :vanity_domain_state
      t.string :talent_vanity_domain
      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bridge_cache-0.5.0 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.9 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.8 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.7 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.6 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.5 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.4 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.3 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.2 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.4.1 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.3.24 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.3.23 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.3.22 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.3.21 db/migrate/20180801162929_create_bridge_cache_hosts.rb
bridge_cache-0.3.20 db/migrate/20180801162929_create_bridge_cache_hosts.rb