class ActiveRecord::DatabaseConfigurations::HashConfig

def seeds?

will return `true` for the primary database and `false` for all other configs.
If the `seeds` key is present in the config, `seeds?` will return its value. Otherwise, it

Determines whether the db:prepare task should seed the database from db/seeds.rb.
def seeds?
  configuration_hash.fetch(:seeds, primary?)
end