From 428bfb963979d3b96f6982962239d95a99103ea8 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Sat, 14 Nov 2020 20:02:08 +0200 Subject: [PATCH] Make Postgres default since SQLite doesn't work anymore --- .gitignore | 1 - .../{database.yml.postgres => database.yml} | 0 config/database.yml.example | 25 ------------------- 3 files changed, 26 deletions(-) rename config/{database.yml.postgres => database.yml} (100%) delete mode 100644 config/database.yml.example diff --git a/.gitignore b/.gitignore index 9d4fc89..a01b633 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ # Ignore all logfiles and tempfiles. /log/*.log /tmp -/config/database.yml /config/secrets.yml /db/schema.rb /erd.pdf diff --git a/config/database.yml.postgres b/config/database.yml similarity index 100% rename from config/database.yml.postgres rename to config/database.yml diff --git a/config/database.yml.example b/config/database.yml.example deleted file mode 100644 index 1c1a37c..0000000 --- a/config/database.yml.example +++ /dev/null @@ -1,25 +0,0 @@ -# SQLite version 3.x -# gem install sqlite3 -# -# Ensure the SQLite 3 gem is defined in your Gemfile -# gem 'sqlite3' -# -default: &default - adapter: sqlite3 - pool: 5 - timeout: 5000 - -development: - <<: *default - database: db/development.sqlite3 - -# Warning: The database defined as "test" will be erased and -# re-generated from your development database when you run "rake". -# Do not set this db to the same as development or production. -test: - <<: *default - database: db/test.sqlite3 - -production: - <<: *default - database: db/production.sqlite3