|
| 1 | +# encoding: UTF-8 |
| 2 | +# This file is auto-generated from the current state of the database. Instead |
| 3 | +# of editing this file, please use the migrations feature of Active Record to |
| 4 | +# incrementally modify your database, and then regenerate this schema definition. |
| 5 | +# |
| 6 | +# Note that this schema.rb definition is the authoritative source for your |
| 7 | +# database schema. If you need to create the application database on another |
| 8 | +# system, you should be using db:schema:load, not running all the migrations |
| 9 | +# from scratch. The latter is a flawed and unsustainable approach (the more migrations |
| 10 | +# you'll amass, the slower it'll run and the greater likelihood for issues). |
| 11 | +# |
| 12 | +# It's strongly recommended that you check this file into your version control system. |
| 13 | + |
| 14 | +ActiveRecord::Schema.define(version: 20141209144846) do |
| 15 | + |
| 16 | + create_table "comments", force: true do |t| |
| 17 | + t.string "comment" |
| 18 | + t.integer "score" |
| 19 | + t.integer "user_id" |
| 20 | + t.integer "link_id" |
| 21 | + t.datetime "created_at", null: false |
| 22 | + t.datetime "updated_at", null: false |
| 23 | + end |
| 24 | + |
| 25 | + create_table "links", force: true do |t| |
| 26 | + t.string "link" |
| 27 | + t.integer "score" |
| 28 | + t.integer "section_id" |
| 29 | + t.integer "user_id" |
| 30 | + t.datetime "created_at", null: false |
| 31 | + t.datetime "updated_at", null: false |
| 32 | + end |
| 33 | + |
| 34 | + create_table "sections", force: true do |t| |
| 35 | + t.string "name" |
| 36 | + t.datetime "created_at", null: false |
| 37 | + t.datetime "updated_at", null: false |
| 38 | + end |
| 39 | + |
| 40 | + create_table "users", force: true do |t| |
| 41 | + t.string "password_digest" |
| 42 | + t.string "username" |
| 43 | + t.datetime "created_at", null: false |
| 44 | + t.datetime "updated_at", null: false |
| 45 | + end |
| 46 | + |
| 47 | +end |
0 commit comments