Skip to content

Commit

Permalink
Executed 'rake db:migrate' (development and test) to migrate all gene…
Browse files Browse the repository at this point in the history
…rated migrations which created schema.rb
  • Loading branch information
Prelang Builder authored and Diego Salazar committed Jan 24, 2017
1 parent 220d339 commit 28f6988
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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: 20170124190257) do

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

create_table "listens", force: true do |t|
t.string "user_id"
t.datetime "listen_date"
t.string "subtopic_id"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "recommendations", force: true do |t|
t.string "subtopic_id"
t.text "recommended_subtopic_ids"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "sub_topics", force: true do |t|
t.string "subtopic_id"
t.string "name"
t.text "description"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "users", force: true do |t|
t.string "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end

end

0 comments on commit 28f6988

Please sign in to comment.