schema.rb 1.1 KB

123456789101112131415161718192021222324252627
  1. # This file is auto-generated from the current state of the database. Instead
  2. # of editing this file, please use the migrations feature of Active Record to
  3. # incrementally modify your database, and then regenerate this schema definition.
  4. #
  5. # This file is the source Rails uses to define your schema when running `rails
  6. # db:schema:load`. When creating a new database, `rails db:schema:load` tends to
  7. # be faster and is potentially less error prone than running all of your
  8. # migrations from scratch. Old migrations may fail to apply correctly if those
  9. # migrations use external dependencies or application code.
  10. #
  11. # It's strongly recommended that you check this file into your version control system.
  12. ActiveRecord::Schema.define(version: 2018_12_28_215350) do
  13. # These are extensions that must be enabled in order to support this database
  14. enable_extension "plpgsql"
  15. create_table "pokemon", force: :cascade do |t|
  16. t.integer "pokedex_number", null: false
  17. t.string "nickname"
  18. t.binary "raw_nickname"
  19. t.binary "raw_pokemon"
  20. t.datetime "created_at", null: false
  21. t.datetime "updated_at", null: false
  22. end
  23. end