Sha256: 2b8faac5f34bffaf363ca20a7a56273301b6b015105ff8faf2176ef084eca394

Contents?: true

Size: 553 Bytes

Versions: 12

Compression:

Stored size: 553 Bytes

Contents

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

    create_table :bridge_cache_domains 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.datetime :deleted_at
      t.text :config
      t.integer :owner_id, limit: 8
      t.boolean :active
      t.integer :users_count
      t.integer :course_templates_count
      t.integer :domain_type
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bridge_cache-0.4.7 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.6 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.5 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.4 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.3 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.2 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.4.1 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.3.24 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.3.23 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.3.22 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.3.21 db/migrate/20170517203244_create_bridge_cache_domains.rb
bridge_cache-0.3.20 db/migrate/20170517203244_create_bridge_cache_domains.rb