Api Token: store token in an encrypted form

This commit is contained in:
simon lehericey 2018-08-24 16:45:43 +02:00
parent 1997f45d7e
commit 8c4f8347ca
7 changed files with 34 additions and 13 deletions

View file

@ -0,0 +1,5 @@
class AddEncryptedTokenColumnToAdministrateur < ActiveRecord::Migration[5.2]
def change
add_column :administrateurs, :encrypted_token, :string
end
end