0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/db/migrate/20141030222425_rename_seen_post_count.rb
Sam Saffron 30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00

7 lines
187 B
Ruby
Vendored

# frozen_string_literal: true
class RenameSeenPostCount < ActiveRecord::Migration[4.2]
def change
rename_column :topic_users, :seen_post_count, :highest_seen_post_number
end
end