Sha256: 134dcc683b4771a765c1535d1f2d909e5c461f4cbc563cfcb88320e26e54faf2

Contents?: true

Size: 228 Bytes

Versions: 293

Compression:

Stored size: 228 Bytes

Contents

class CreateTaggings < ActiveRecord::Migration
  def self.up
    create_table :taggings do |t|
      t.column :post_id, :integer
      t.column :tag_id, :integer
    end
  end

  def self.down
    drop_table :taggings
  end
end

Version data entries

293 entries across 172 versions & 31 rubygems

Version Path
thoughtbot-shoulda-2.0.3 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.0.4 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.0.5 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.0.6 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.10.0 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.10.1 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.10.2 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.9.0 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.9.1 test/rails_root/db/migrate/003_create_taggings.rb
thoughtbot-shoulda-2.9.2 test/rails_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb