1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00
discourse/db/migrate/20121108193516_add_post_action_id_to_notifications.rb

7 lines
206 B
Ruby

class AddPostActionIdToNotifications < ActiveRecord::Migration[4.2]
def change
add_column :notifications, :post_action_id, :integer, null: true
add_index :notifications, :post_action_id
end
end