# 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 `bin/rails
# db:schema:load`. When creating a new database, `bin/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[8.0].define(version: 2025_02_09_094901) do
  create_schema "pgroonga"

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

  create_table "papamira_chats", id: :serial, force: :cascade do |t|
    t.string "name"
    t.string "body"
    t.string "host"
    t.string "time"
  end

  create_table "papamira_itemdrops", force: :cascade do |t|
    t.string "data"
  end

  create_table "papamira_items", id: :serial, force: :cascade do |t|
    t.string "index"
    t.string "name"
  end

  create_table "papamira_search_word_days", force: :cascade do |t|
    t.string "server"
    t.string "days"
    t.string "name"
    t.string "count"
    t.string "times"
  end

  create_table "papamira_search_words", id: :serial, force: :cascade do |t|
    t.string "server"
    t.string "data"
  end

  create_table "papamira_shouts", force: :cascade do |t|
    t.string "stat"
    t.string "server", null: false
    t.string "days", null: false
    t.string "date", null: false
    t.string "name", null: false
    t.string "body"
    t.index ["body"], name: "index_papamira_shouts_on_body", using: :pgroonga
    t.index ["name"], name: "index_papamira_shouts_on_name", using: :pgroonga
  end

  create_table "papamira_user_words", id: :serial, force: :cascade do |t|
    t.string "index"
    t.string "name"
  end

  create_table "papamira_worlds", id: :serial, force: :cascade do |t|
    t.string "server"
    t.string "date"
    t.string "days"
    t.string "tags"
    t.string "body"
  end

  create_table "papamira_yourshop", force: :cascade do |t|
    t.string "data"
    t.string "date"
  end

  create_table "papamira_yourshops", force: :cascade do |t|
    t.string "data"
    t.string "date"
  end
end
