schema dump to schema.rb not happening after migration

We recently upgraded from 2.0.old to 2.3.5.

Now when we run migrations schema.rb is not getting automatically
updated. (the migrations do work though)

db:schema:dump seems correctly dump the schema and update schema.rb

Any suggestions on where to start looking around?

Identical thing happened to me. I tried creating a new database and
loading all my old data into it. Schema.rb worked once and then
stopped working.


Is the ActiveRecord#schema_format still set to :ruby?

This can be set in the environment.rb file :
config.active_record.schema_format = :ruby

The default value is :ruby.