Sha256: 84236eb34fdbf94c8b1ef947b7656114c4ca7b332bdd459f0222074d492903f4

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

class CreateTaggings < ActiveRecord::Migration
  def change
    create_table :taggings do |t|
      t.integer :tag_id, :null => false
      t.string :taggable_type, :null => false
      t.integer :taggable_id, :null => false
      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
activeadmin_associations-0.1.3 spec/dummy/db/migrate/20120504222247_create_taggings.rb
aa_associations-0.1.2 test/dummy/db/migrate/20120504222247_create_taggings.rb
aa_associations-0.1.1 test/dummy/db/migrate/20120504222247_create_taggings.rb
aa_associations-0.1.0 test/dummy/db/migrate/20120504222247_create_taggings.rb