Add IP-based SMTP authentication (#1149)

This commit is contained in:
Charlie Smurthwaite
2020-07-17 11:43:51 +01:00
committed by GitHub
parent 5c7802d218
commit 9a3d568b27
9 changed files with 103 additions and 14 deletions
@@ -0,0 +1,8 @@
class AddUUIDToCredentials < ActiveRecord::Migration[5.2]
def change
add_column :credentials, :uuid, :string
Credential.find_each do |c|
c.update_column(:uuid, SecureRandom.uuid)
end
end
end