Skip to content

Commit

Permalink
Added migrate for authorization model
Browse files Browse the repository at this point in the history
  • Loading branch information
KseniaGovorun committed Nov 18, 2024
1 parent aa10cfc commit 509a6e0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddIndexToAuthorizationsOnUidAndProvider < ActiveRecord::Migration[7.1]
def change
add_index :authorizations, [:uid, :provider], unique: true
end
end

0 comments on commit 509a6e0

Please sign in to comment.