mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
Add IP-based SMTP authentication (#1149)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user