مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
13 أسطر
246 B
Ruby
13 أسطر
246 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|