add Postgres

This commit is contained in:
Barnabé 2021-09-07 12:38:17 +02:00
parent a0b3612f12
commit 216ef1afe8
3 changed files with 10 additions and 3 deletions

View File

@ -9,6 +9,8 @@ gem 'rails', '6.0.3.4'
gem 'mysql2'
# Use Puma as the app server
gem "postgresql"
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker

View File

@ -229,7 +229,10 @@ GEM
nio4r (2.5.4)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
pg (1.2.3)
posix-spawn (0.3.13)
postgresql (1.0.0)
pg
public_suffix (4.0.1)
puma (3.12.1)
rack (2.2.3)
@ -386,6 +389,7 @@ DEPENDENCIES
mysql2
nokogiri
posix-spawn
postgresql
puma (~> 3.11)
rails (= 6.0.3.4)
rails_autolink

View File

@ -14,9 +14,10 @@ default: &default
sql_mode: TRADITIONAL
development:
<<: *default
username: root
socket: /tmp/mysql.sock
adapter: postgresql
database: presta_app
pool: 5
username: postgres
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".