Sha256: 6b77a713f6d47b6b0dc8b7f9c3770d847416603ad41a1251c50f0c57dc4a5d7f

Contents?: true

Size: 385 Bytes

Versions: 15

Compression:

Stored size: 385 Bytes

Contents

class CreateBridgeCacheCustomFields < ActiveRecord::Migration[5.0]
  def change
    return unless BridgeCache.use_internal_database

    create_table :bridge_cache_custom_fields do |t|
      t.integer :bridge_id, limit: 8
      t.string :name
      t.datetime :created_at
      t.datetime :updated_at
      t.datetime :deleted_at
      t.integer :domain_id, limit: 8
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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