def add_dev_database_addon
    return [] if env("HEROKU_SKIP_DATABASE_PROVISION")

    pg_adapters.any? {|a| bundler.has_gem?(a) } ? ['heroku-postgresql'] : []
  end
decides if we need to enable the dev database addon
@return [Array] the database addon if the pg gem is detected or an empty Array if it isn't.