1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-07 06:25:19 +02:00

Merge branch 'main' of github.com:maybe-finance/maybe into zachgoll/maybe-902-add-anchor-fields-to-valuation

This commit is contained in:
Zach Gollwitzer 2025-07-10 11:04:02 -04:00
commit 33a32ed994
3 changed files with 29 additions and 14 deletions

View file

@ -0,0 +1,9 @@
class FixMobileDevicesUniqueConstraint < ActiveRecord::Migration[7.2]
def change
# Remove the old unique index on device_id only
remove_index :mobile_devices, :device_id, if_exists: true
# The composite unique index on user_id and device_id already exists
# This allows the same device_id to be used by different users
end
end