Skip to content

Commit 5d43c31

Browse files
committed
app:update db/migrate/20240918142041_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb
1 parent 319ed54 commit 5d43c31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This migration comes from active_storage (originally 20211119233751)
2+
class RemoveNotNullOnActiveStorageBlobsChecksum < ActiveRecord::Migration[6.0]
3+
def change
4+
return unless table_exists?(:active_storage_blobs)
5+
6+
change_column_null(:active_storage_blobs, :checksum, true)
7+
end
8+
end

0 commit comments

Comments
 (0)