Sha256: d04ae8d9577aa05210f88a40dacbb36f31e36c59d3bc9df4cfbadeab195db022

Contents?: true

Size: 220 Bytes

Versions: 7

Compression:

Stored size: 220 Bytes

Contents

class CreateCategoricalTaggings < ActiveRecord::Migration
  def change
    create_table :categorical_taggings do |t|
      t.references :taggable, polymorphic: true, index: true
      t.integer :tag_id
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
categorical-0.0.10 db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.9.1 db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.9 db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.9.rc db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.8.rc db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.6.rc db/migrate/20151011215525_create_categorical_taggings.rb
categorical-0.0.4 db/migrate/20151011215525_create_categorical_taggings.rb