Sha256: 273f38af5de6c6df413cf6ce9b75f738ab7a6b5f689c4cc788dd5ae095656d00

Contents?: true

Size: 554 Bytes

Versions: 28

Compression:

Stored size: 554 Bytes

Contents

class CreateBridgeCacheGroups < ActiveRecord::Migration[5.0]
  def change
    return unless BridgeCache.use_internal_database
    create_table :bridge_cache_groups do |t|
      t.integer :bridge_id, limit: 8
      t.string :name
      t.integer :parent_id, limit: 8
      t.datetime :created_at
      t.datetime :updated_at
      t.integer :membership_count
      t.integer :domain_id, limit: 8
      t.datetime :deleted_at
      t.string :type
      t.datetime :archived_at
      t.boolean :new_smart_group
      t.string :external_id
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
bridge_cache-0.2.7 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.6 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.5 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.4 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.3 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.2 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.1 db/migrate/20170518211627_create_bridge_cache_groups.rb
bridge_cache-0.2.0 db/migrate/20170518211627_create_bridge_cache_groups.rb