X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/319e54e08a9803c2218ec126bce4ed6eb9965127..7eafdca51c2354c7905a9ea918e7ba5653c46998:/db/migrate/20211216185316_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb diff --git a/db/migrate/20211216185316_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb b/db/migrate/20211216185316_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb new file mode 100644 index 000000000..da8f3f14e --- /dev/null +++ b/db/migrate/20211216185316_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb @@ -0,0 +1,6 @@ +# This migration comes from active_storage (originally 20211119233751) +class RemoveNotNullOnActiveStorageBlobsChecksum < ActiveRecord::Migration[6.0] + def change + change_column_null(:active_storage_blobs, :checksum, true) + end +end