Switch to PostgreSQL version 15 [SCI-8633] (#5722)

This commit is contained in:
Alex Kriuchykhin 2023-07-11 13:24:44 +02:00 committed by GitHub
parent 388915b6d9
commit e24d5f13fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ gem 'bootstrap_form', '~> 2.7.0'
gem 'devise', '~> 4.8.1'
gem 'devise_invitable'
gem 'figaro'
gem 'pg', '~> 1.1'
gem 'pg', '~> 1.5'
gem 'pg_search' # PostgreSQL full text search
gem 'psych', '< 4.0'
gem 'rails', '~> 7.0.5'

View file

@ -46,7 +46,7 @@ class AddProtocolVersioning < ActiveRecord::Migration[6.1]
execute(
'UPDATE "protocols" SET "published_by_id" = "added_by_id" ' \
'WHERE "protocols"."protocol_type" = 5 ' \
'AND "protocols"."visibility" = 1' \
'AND "protocols"."visibility" = 1 ' \
'AND "protocols"."published_by_id" IS NULL;'
)
end

View file

@ -2,7 +2,7 @@ version: '2'
services:
db:
container_name: scinote_db_production
image: postgres:11
image: postgres:15
volumes:
- scinote_production_postgres:/var/lib/postgresql/data
environment:

View file

@ -2,7 +2,7 @@ version: '2'
services:
db:
container_name: scinote_db_development
image: postgres:11
image: postgres:15
volumes:
- scinote_development_postgres:/var/lib/postgresql/data
ports: