discourse/db/migrate/20121108193516_add_post_action_id_to_notifications.rb

7 lines
201 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class AddPostActionIdToNotifications < ActiveRecord::Migration
def change
add_column :notifications, :post_action_id, :integer, null: true
add_index :notifications, :post_action_id
end
end