Files
akkounts/db/migrate/20250428123317_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb

9 lines
292 B
Ruby
Raw Normal View History

2025-04-28 17:49:54 +04:00
# This migration comes from active_storage (originally 20211119233751)
class RemoveNotNullOnActiveStorageBlobsChecksum < ActiveRecord::Migration[6.0]
def change
return unless table_exists?(:active_storage_blobs)
change_column_null(:active_storage_blobs, :checksum, true)
end
end