Sha256: 1d6b55c75e7143a09aec78547cbdcb0da936414e03da78dea589b4713c0c6445

Contents?: true

Size: 163 Bytes

Versions: 4

Compression:

Stored size: 163 Bytes

Contents

class JoinPostsAndTags < ActiveRecord::Migration
  def change
     create_table :posts_tags, id:false do |t|
       t.integer :post_id,:tag_id
     end
   end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
monologue-0.5.0 db/migrate/20120514194459_join_posts_and_tags.rb
monologue-0.4.1 db/migrate/20120514194459_join_posts_and_tags.rb
monologue-0.4.0 db/migrate/20120514194459_join_posts_and_tags.rb
monologue-0.3.0 db/migrate/20120514194459_join_posts_and_tags.rb