mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
12 lines
338 B
Ruby
12 lines
338 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class UpdateUserProfilesIndexes < ActiveRecord::Migration[6.0]
|
||
|
def change
|
||
|
remove_index :user_profiles, :card_background
|
||
|
add_index :user_profiles, :card_background_upload_id
|
||
|
|
||
|
remove_index :user_profiles, :profile_background
|
||
|
add_index :user_profiles, :profile_background_upload_id
|
||
|
end
|
||
|
end
|