Sha256: 93803b5cefeb5930c1f93081b9a02d7ff507307f65481968c452aa5c32a49bf6

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 Bytes

Contents

class CreateSupportPosts < ActiveRecord::Migration[4.2]
  def change
    create_table :support_posts do |t|
      t.references :support_thread, foreign_key: true
      t.references :user, foreign_key: true
      t.text     :body
      t.boolean  :solved, default: false

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
help_center-0.1.0 db/migrate/20170417012932_create_support_posts.rb
help_center-0.0.9 db/migrate/20170417012932_create_support_posts.rb
help_center-0.0.8 db/migrate/20170417012932_create_support_posts.rb
help_center-0.0.7 db/migrate/20170417012932_create_support_posts.rb
help_center-0.0.6 db/migrate/20170417012932_create_support_posts.rb
help_center-0.0.5 db/migrate/20170417012932_create_support_posts.rb