Skip to content

Commit

Permalink
LTI-116: Added index nonce to lti_launches (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored Feb 2, 2023
1 parent 440c53b commit 0b162b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.ruby-version
.bundle/
Gemfile.lock
log/*.log
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

class AddNonceIndexToRailsLti2ProviderLtiLaunches < ActiveRecord::Migration[6.0]
def change
add_index('rails_lti2_provider_lti_launches', %w[nonce], name: 'index_launch_nonce', unique: true)
end
end

0 comments on commit 0b162b2

Please sign in to comment.