You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
304 lines
9.9 KiB
304 lines
9.9 KiB
# 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: 2024_04_10_020711) do
|
|
|
|
create_table "class_table", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.string "monday"
|
|
t.string "tuesday"
|
|
t.string "wednesday"
|
|
t.string "thursday"
|
|
t.string "friday"
|
|
t.string "saturday"
|
|
t.string "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "open", primary_key: "time", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.string "msg"
|
|
t.index ["time"], name: "time", unique: true
|
|
end
|
|
|
|
create_table "user_classes", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
|
|
t.string "name"
|
|
t.boolean "is_use", default: true, comment: "是否启用"
|
|
t.datetime "created_at", null: false
|
|
t.datetime "updated_at", null: false
|
|
end
|
|
|
|
create_table "week1", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week10", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week11", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week12", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week13", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week14", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week15", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week16", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week17", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week18", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week19", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week2", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week20", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week21", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week22", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week3", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week4", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week5", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week6", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week7", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week8", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
create_table "week9", primary_key: "cname", id: :string, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC", force: :cascade do |t|
|
|
t.text "monday"
|
|
t.text "tuesday"
|
|
t.text "wednesday"
|
|
t.text "thursday"
|
|
t.text "friday"
|
|
t.text "saturday"
|
|
t.text "sunday"
|
|
t.string "updateTime"
|
|
t.index ["cname"], name: "cname", unique: true
|
|
end
|
|
|
|
end
|