Table Name Purpose
Active_storage_blobs Stores information about uploaded files like filename and content type.
Active_storage_attachments The polymorphic table connects your model to blobs If your model’s class name changes, you will need to operate a migration on this table to update the underlying record_type to your model’s new class name.
Active_storage_variant_records If there is a different variant of the images, then it will be stored in this table.