class Rails::AppBuilder

def db_when_updating

def db_when_updating
  path = File.expand_path("db/schema.rb", destination_root)
  if File.exist?(path)
    gsub_file("db/schema.rb", /ActiveRecord::Schema\.define/, "ActiveRecord::Schema[6.1].define")
  end
end