Path: blob/master/april_18/templates/example-lesson/solution-code/db/schema.rb
1905 views
# encoding: UTF-81# This file is auto-generated from the current state of the database. Instead2# of editing this file, please use the migrations feature of Active Record to3# incrementally modify your database, and then regenerate this schema definition.4#5# Note that this schema.rb definition is the authoritative source for your6# database schema. If you need to create the application database on another7# system, you should be using db:schema:load, not running all the migrations8# from scratch. The latter is a flawed and unsustainable approach (the more migrations9# you'll amass, the slower it'll run and the greater likelihood for issues).10#11# It's strongly recommended that you check this file into your version control system.1213ActiveRecord::Schema.define(version: 20150710192918) do1415# These are extensions that must be enabled in order to support this database16enable_extension "plpgsql"1718create_table "artists", force: :cascade do |t|19t.string "name"20t.string "photo_url"21t.string "nationality"22t.datetime "created_at"23t.datetime "updated_at"24t.string "instrument"25t.string "home_address"26end2728end293031