I tried to roll back the migration and got the following notation.
Mac$ rake db:rollback
The PGconn, PGresult, and PGError constants are deprecated, and will be
removed as of version 1.0.
You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
The cause of this phenomenon is a postgresql alert, so fixing postgresql and doing a bundle update will eliminate the display.
Just rewrite the gemfile.
gem 'pg'
↓
gem 'pg', '0.20.0'