Sha256: c805af35b65f99626cae8026740b694bd48c929cd835909958dbf804cb948338

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

class CreateMyForumPrivateMessages < ActiveRecord::Migration
  def change
    create_table :my_forum_private_messages do |t|
      t.integer :sender_id
      t.integer :recipient_id
      t.boolean :sender_deleted, :default => false
      t.boolean :recipient_deleted, :default => false
      t.boolean :unread, :default => true
      t.string :subject
      t.text :body
      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta1 db/migrate/20150227210814_create_my_forum_private_messages.rb