discourse/db/migrate/20121108193516_add_post_action_id_to_notifications.rb

7 lines
206 B
Ruby
Raw Normal View History

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