Sha256: 4c7fb26194bc7f7fc1ee9a730af9551741942bf554b26087886ce574043bb108

Contents?: true

Size: 164 Bytes

Versions: 4

Compression:

Stored size: 164 Bytes

Contents

class CreatePostsTags < ActiveRecord::Migration
  def change
    create_table :posts_tags do |t|
      t.belongs_to :post
      t.belongs_to :tag
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/db/migrate/20140922150155_create_posts_tags.rb
carnival-0.1.2 test/carnival-sample-application/db/migrate/20140922150155_create_posts_tags.rb
carnival-0.1.1 test/carnival-sample-application/db/migrate/20140922150155_create_posts_tags.rb
carnival-0.1.0 test/carnival-sample-application/db/migrate/20140922150155_create_posts_tags.rb