Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

Commit

Permalink
got rid of databases and logfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
slmyers committed Feb 11, 2016
1 parent 792b0d5 commit b1787d2
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 142 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ capybara-*.html
**.orig
rerun.txt
pickle-email-*.html
development.log

# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
Expand Down
124 changes: 0 additions & 124 deletions backend/Gemfile.lock

This file was deleted.

3 changes: 3 additions & 0 deletions backend/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
resources(:contact_us_tickets)
end

post 'authenticate' => 'auth#authenticate'


# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".

Expand Down
Empty file removed backend/db/development.sqlite3
Empty file.
32 changes: 32 additions & 0 deletions backend/db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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: 20160211063209) do

create_table "contact_us_tickets", force: :cascade do |t|
t.string "email"
t.text "title"
t.text "desc"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end

create_table "users", force: :cascade do |t|
t.string "username"
t.string "password"
t.string "password_digest"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end

end
18 changes: 0 additions & 18 deletions backend/log/development.log

This file was deleted.

0 comments on commit b1787d2

Please sign in to comment.