Sha256: 93646dfd08a7dacd073af3119936da5d83b6d302c8c231e2cf0e8930d0b5bc2f
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 KB
Contents
# 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. # # This file is the source Rails uses to define your schema when running `rails # db:schema:load`. When creating a new database, `rails db:schema:load` tends to # be faster and is potentially less error prone than running all of your # migrations from scratch. Old migrations may fail to apply correctly if those # migrations use external dependencies or application code. # # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 2019_06_22_000000) do create_table "spell_books", force: :cascade do |t| t.string "name" t.integer "wizard_id" t.index ["wizard_id"], name: "index_spell_books_on_wizard_id" end create_table "wands", force: :cascade do |t| t.integer "wizard_id", null: false t.string "wood_type" t.integer "core_type" t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false t.float "flexibility", default: 0.5, null: false t.decimal "hardness", precision: 10, scale: 10, default: "5.0", null: false t.decimal "reflectance", precision: 10, default: "0", null: false t.boolean "broken", default: false, null: false t.date "chosen_at_date" t.time "chosen_at_time" t.json "spell_history" t.json "maker_info", default: "{}", null: false t.index ["wizard_id"], name: "index_wands_on_wizard_id" end create_table "wizards", force: :cascade do |t| t.string "name" t.integer "house" t.string "parent_email" t.text "notes" t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sorbet-rails-0.3.0 | spec/support/v6.0/db/schema.rb |