Обновляем конфиг БД

This commit is contained in:
Nastia Gorokhova-Alekseeva
2022-01-13 23:46:35 +03:00
parent d7dc62c44c
commit 47ce2fd398
4 changed files with 9 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ gemspec
gem 'appraisal'
gem 'fastimage'
gem 'sqlite3'
gem 'pg', '~> 1.1.4'
gem 'aws-sdk-s3'
gem 'fog-local'

View File

@@ -4,7 +4,7 @@ source "https://rubygems.org"
gem "appraisal"
gem "fastimage"
gem "sqlite3"
gem "pg", "~> 1.1.4"
gem "aws-sdk-s3"
gem "fog-local"
gem "delayed_paperclip", git: "https://github.com/insales/delayed_paperclip.git"

View File

@@ -1,4 +1,7 @@
test:
adapter: sqlite3
database: ":memory:"
adapter: postgresql
host: 127.0.0.1
database: paperclip_test
encoding: utf8
username: postgres
port: 5432

View File

@@ -7,7 +7,7 @@ require 'mocha/test_unit'
require 'pry'
require 'pry-byebug'
require 'tempfile'
require 'sqlite3'
require 'pg'
require 'active_record'
require 'active_support'