Skip to content

Commit

Permalink
fixed postgres on local dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
gugote committed Feb 12, 2016
1 parent bd5c32c commit 2702163
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/database.yml
Expand Up @@ -11,15 +11,15 @@ default: &default

development:
<<: *default
database: db/development.postgresql
database: db/easyms

# 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.postgresql
database: db/test

production:
<<: *default
database: db/production.postgresql
database: db/easyms
19 changes: 19 additions & 0 deletions db/schema.rb
@@ -0,0 +1,19 @@
# encoding: UTF-8
# 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.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# 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 2702163

Please sign in to comment.