Sha256: 573195d94eb51c52e3872c5a2e0f404b5e91ffc8a0458677fff6e0e07513fd47

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

class CreateCategoriesPosts < ActiveRecord::Migration
  def self.up
    create_table "categories_posts", :id => false, :force => true do |t|
      t.integer "post_id",     :null => false
      t.integer "category_id", :null => false
    end
  end

  def self.down
    drop_table "categories_posts"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blogmodule-1.0.2 db/migrate/20111231183528_create_categories_posts.rb
blogmodule-1.0.1 db/migrate/20111231183528_create_categories_posts.rb
blogmodule-1.0.0 db/migrate/20111231183528_create_categories_posts.rb
blogmodule-0.0.1 db/migrate/20111231183528_create_categories_posts.rb