Skip to content

Instantly share code, notes, and snippets.

@HeshamMagdy97
Created August 5, 2019 23:39
Show Gist options
  • Save HeshamMagdy97/ee6b2a894e86e52dfcca4bdcf5cf08c0 to your computer and use it in GitHub Desktop.
Save HeshamMagdy97/ee6b2a894e86e52dfcca4bdcf5cf08c0 to your computer and use it in GitHub Desktop.
class CreateJwtBlacklist < ActiveRecord::Migration[5.0]
def change
create_table :jwt_blacklist do |t|
t.string :jti, null: false
end
add_index :jwt_blacklist, :jti
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment