class CreateAppliedMessages < ActiveRecord::Migration
  def change
    create_table :applied_messages do |t|
      t.integer :user_id
      t.integer :applied_id
      t.string :applied_type
      t.integer :viewed, :default => false
      t.integer :status, :default => false

      t.timestamps
    end
  end
end
