mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:13:44 +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
|