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
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb
Flamefork-shoulda-2.10.1 test/rails_root/db/migrate/003_create_taggings.rb
Flamefork-shoulda-2.10.2 test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.0 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.1 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.10 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.11 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.12 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.13 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.14 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.15 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.16 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb
auser-poolparty-1.3.17 vendor/gems/shoulda/test/rails_root/db/migrate/003_create_taggings.rb