mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
11 lines
246 B
Ruby
Vendored
11 lines
246 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class RemoveTimezoneCustomField < ActiveRecord::Migration[5.2]
|
|
def up
|
|
execute "DELETE FROM user_custom_fields WHERE name = 'timezone'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|