]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20211216185316_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb
Update to rails 7.0.2.2
[rails.git] / 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 (file)
index 0000000..da8f3f1
--- /dev/null
@@ -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