mirror of
https://github.com/hanzoai/forum.git
synced 2026-11-02 15:22:14 +00:00
* DEV: Update model annotations * DEV: Add missing indexes to user_profiles The columns were changed in https://github.com/discourse/discourse/commit/64a9e3bc521743c7efae92b51a827560f72a277f#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
|