mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:22:36 +08:00
38b8d68c68
* Add user_home configuration option * Use the new user_home preference to actually show the right home page * Fix trailing whitespace * Update user_option_serializer.rb * Fix JavaScript default homepage tests * Use an object instead of a giant switch * Remove trailing whitespace * Make the default `user_home` set to `null` instead of `0` * Rename user_home to homepage_id
6 lines
157 B
Ruby
6 lines
157 B
Ruby
class AddUserOptionHome < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_column :user_options, :homepage_id, :integer, null: true, default: nil
|
|
end
|
|
end
|