مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 13:39:46 +00:00
11 أسطر
215 B
Ruby
11 أسطر
215 B
Ruby
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
|