Sha256: 18dfa5615b2d70e770d5093c38612f3714fd548fd97ee81318c5cf4532658179
Contents?: true
Size: 444 Bytes
Versions: 8
Compression:
Stored size: 444 Bytes
Contents
# This migration comes from tb_blog (originally 20120125181022) 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
8 entries across 8 versions & 1 rubygems