discourse/db/migrate/20141030222425_rename_seen_post_count.rb
Sam 2251877332 FIX: "Dismiss Posts" corrupting read state
REFACTOR: seen_post_count was a bad name, renamed to highest_seen_post_number
2014-10-31 09:40:35 +11:00

6 lines
151 B
Ruby

class RenameSeenPostCount < ActiveRecord::Migration
def change
rename_column :topic_users, :seen_post_count, :highest_seen_post_number
end
end