Sha256: 1903d573272934e9984e17ad0c53a305b7279cb7f10b275ca50757da8ededc57

Contents?: true

Size: 442 Bytes

Versions: 12

Compression:

Stored size: 442 Bytes

Contents

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

    create_table :bridge_cache_taggings do |t|
      t.integer :bridge_id, limit: 8
      t.integer :tag_id, limit: 8
      t.integer :taggable_id, limit: 8
      t.string :taggable_type
      t.string :tagger_id, limit: 8
      t.string :context
      t.datetime :created_at
      t.text :data
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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