You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails 7.1.1: UUID support for MariaDB/MySQL is missing -> ActiveStorage setup migration fails to correctly dump the new schema.rb (with primary key type: UUID) #49752
After running the ActiveStorage setup, the migration producing the new schema.rb dump appears to fail, the beginning of it looking like this:
ActiveRecord::Schema[7.0].define(version: 2023_09_29_141433)do# Could not dump table "active_storage_attachments" because of following StandardError# Unknown type 'uuid' for column 'id'# Could not dump table "active_storage_blobs" because of following StandardError# Unknown type 'uuid' for column 'id'# Could not dump table "active_storage_variant_records" because of following StandardError# Unknown type 'uuid' for column 'id'
...
However, looking at the generated DB tables in phpMyAdmin, all key and foreign-key values in the "Type" columns correctly show "uuid" (MariaDB supports the UUID data type natively).