I have recently upgraded to rails 6 and mariadb version 10.5 getting duplicate entries in schema.rb

I recenly upgraded from 5.2 to 6 version and update the mariadb version see that mariadb automatically add check of check_constraint on json column after 10.4.3 version and if two tables have same column name of type json in schema.rb it is getting added duplicate there. I think it is a bug my two tables have same column name and in schema.rb it is added twice t.check_constraint “json_valid(excludes)”, name: “excludes” t.check_constraint “json_valid(excludes)”, name: “excludes”

Can you verify this issue with the latest changes from the rails/rails repository? If so, please open an issue there with reproduction steps.