مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
Add IP-based SMTP authentication (#1149)
هذا الالتزام موجود في:
ملتزم من قبل
GitHub
الأصل
5c7802d218
التزام
9a3d568b27
8
db/migrate/20200717083943_add_uuid_to_credentials.rb
Normal file
8
db/migrate/20200717083943_add_uuid_to_credentials.rb
Normal file
@@ -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
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_02_16_114344) do
|
||||
ActiveRecord::Schema.define(version: 2020_07_17_083943) do
|
||||
|
||||
create_table "additional_route_endpoints", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||
t.integer "route_id"
|
||||
@@ -68,6 +68,7 @@ ActiveRecord::Schema.define(version: 2018_02_16_114344) do
|
||||
t.datetime "created_at", precision: 6
|
||||
t.datetime "updated_at", precision: 6
|
||||
t.boolean "hold", default: false
|
||||
t.string "uuid"
|
||||
end
|
||||
|
||||
create_table "domains", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم