Sha256: 1ee8ce98891d34469558c34a4c532b6ca4698015ebf27705d8edd7faad77bd4a
Contents?: true
Size: 440 Bytes
Versions: 3
Compression:
Stored size: 440 Bytes
Contents
class CreateForumThreads < ActiveRecord::Migration[4.2] def change create_table :forum_threads do |t| t.references :forum_category, foreign_key: true t.references :user, foreign_key: true t.string :title, null: false t.string :slug, null: false t.integer :forum_posts_count, default: 0 t.boolean :pinned, default: false t.boolean :solved, default: false t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems