diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 8e21138f..97320265 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -98,7 +98,7 @@ jobs: options: --entrypoint redis-server db: - image: postgres:12.8-alpine + image: postgres:15-alpine env: POSTGRES_PASSWORD: password ports: diff --git a/backend/Gemfile b/backend/Gemfile index cbe11e3b..c9adaf35 100644 --- a/backend/Gemfile +++ b/backend/Gemfile @@ -14,7 +14,7 @@ gem "active_model_serializers", "0.9.8" # Use postgresql and mongo as the database for Active Record gem "mongoid", "7.3.3" -gem "pg", "1.2.3" +gem "pg", "~> 1.5.0" # Use Puma as the app server gem "puma", "5.6.4" diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock index 33432a51..f34c5533 100644 --- a/backend/Gemfile.lock +++ b/backend/Gemfile.lock @@ -283,9 +283,9 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.2.3) - pg (1.2.3-x64-mingw32) - pg (1.2.3-x86-mingw32) + pg (1.5.3) + pg (1.5.3-x64-mingw32) + pg (1.5.3-x86-mingw32) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -503,7 +503,7 @@ DEPENDENCIES nearest_time_zone omniauth (= 1.8.1) omniauth-facebook (= 3.0.0) - pg (= 1.2.3) + pg (~> 1.5.0) pry-byebug pry-doc pry-rails diff --git a/docker-compose.yml b/docker-compose.yml index af7157d4..fc9eadbc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: redis: services: postgres: - image: postgres:12.8-alpine + image: postgres:15-alpine environment: POSTGRES_PASSWORD: password PGDATA: /data