Sha256: fa2dfde47e4923d9ad6941306eafd921281f627e4305522001f4c1de4cc6fdb9

Contents?: true

Size: 245 Bytes

Versions: 6

Compression:

Stored size: 245 Bytes

Contents

class CreateTaggings < ActiveRecord::Migration
  def change
    create_table :monologue_taggings do |t|
      t.integer :post_id, :tag_id
    end

    add_index :monologue_taggings, :post_id
    add_index :monologue_taggings, :tag_id

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
monologue-0.5.0 db/migrate/20120612013442_create_taggings.rb
monologue-0.4.1 db/migrate/20120612013442_create_taggings.rb
monologue-0.4.0 db/migrate/20120612013442_create_taggings.rb
monologue-0.3.0 db/migrate/20120612013442_create_taggings.rb
monologue-0.2.0 db/migrate/20120612013442_create_taggings.rb
monologue-0.2.0.beta3 db/migrate/20120612013442_create_taggings.rb