add uuid to active storage blob
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddUuidToActiveStorageBlobs < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :active_storage_blobs, :uuid, :string
|
||||
|
||||
add_index :active_storage_blobs, :uuid, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user