1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00
Maybe/db/migrate/20240203050018_add_token_index_to_invite_codes.rb

6 lines
137 B
Ruby
Raw Normal View History

class AddTokenIndexToInviteCodes < ActiveRecord::Migration[7.2]
def change
add_index :invite_codes, :token, unique: true
end
end