0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 10:47:18 +08:00
discourse/db/migrate/20160716112354_remove_edit_history_public.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

11 lines
229 B
Ruby
Vendored

# frozen_string_literal: true
class RemoveEditHistoryPublic < ActiveRecord::Migration[4.2]
def up
remove_column :user_options, :edit_history_public
end
def down
raise ActiveRecord::IrreversibleMigration
end
end