Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Configuring PostgreSQL Databases for the New Rails Project
Browse files Browse the repository at this point in the history
  • Loading branch information
sdflem committed Jan 24, 2020
1 parent 006d9ae commit 1e756bc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ test:
production:
<<: *default
database: quiz_me_production
username: quiz_me
password: <%= ENV['QUIZ_ME_DATABASE_PASSWORD'] %>
# username: quiz_me
# password: <%= ENV['QUIZ_ME_DATABASE_PASSWORD'] %>
18 changes: 18 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `rails
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 0) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"

end

0 comments on commit 1e756bc

Please sign in to comment.