mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:56:30 +08:00
531016f99b
* DEV: Update model annotations
* DEV: Add missing indexes to user_profiles
The columns were changed in 24347ace10 (diff-baa5914c0c7cddf3c8b5cd9139e0d091)
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
|