mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-24 00:29:30 +08:00
Switch to PostgreSQL version 15 [SCI-8633] (#5722)
This commit is contained in:
parent
388915b6d9
commit
e24d5f13fc
4 changed files with 4 additions and 4 deletions
2
Gemfile
2
Gemfile
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue