Sha256: 16e5b451f79da366025044c1f6972a152a39e45c7ff6aa5500c6f9532b3906cf
Contents?: true
Size: 380 Bytes
Versions: 61
Compression:
Stored size: 380 Bytes
Contents
class CreateSpudPostCategories < ActiveRecord::Migration def change create_table :spud_post_categories do |t| t.string :name t.timestamps end create_table :spud_post_categories_posts, :id => false do |t| t.integer :spud_post_id t.integer :spud_post_category_id end add_index :spud_post_categories_posts, :spud_post_category_id end end
Version data entries
61 entries across 61 versions & 2 rubygems