class CreateForumModerations < ActiveRecord::Migration
  def change
    create_table :forum_moderations do |t|
      t.belongs_to :room
      t.belongs_to :moderator
      t.timestamps
    end

    add_index :forum_moderations, [:room_id, :moderator_id], :unique => true
  end
end
