Sha256: 76ad016a08297a9e107ccd99b86e3974c30a54af4a704fb5e5cf88b3d3cc0e27
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
# This migration comes from discussion (originally 20130501074817) class CreateDiscussionThreads < ActiveRecord::Migration def change create_table :discussion_threads do |t| t.string :subject t.integer :initiator_id t.datetime :last_posted_at t.integer :total_comments_post, default: 0 t.timestamps end add_index :discussion_threads, :initiator_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discussion-0.0.1 | test/dummy/db/migrate/20130501154800_create_discussion_threads.discussion.rb |