schema update
This commit is contained in:
@@ -10,16 +10,18 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_07_28_000001) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_07_28_000002) do
|
||||
create_table "admin_users", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
|
||||
t.datetime "created_at", null: false
|
||||
t.string "email", default: "", null: false
|
||||
t.string "encrypted_password", default: "", null: false
|
||||
t.bigint "member_id"
|
||||
t.datetime "remember_created_at"
|
||||
t.datetime "reset_password_sent_at"
|
||||
t.string "reset_password_token"
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["email"], name: "index_admin_users_on_email", unique: true
|
||||
t.index ["member_id"], name: "index_admin_users_on_member_id"
|
||||
t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
||||
@@ -221,6 +223,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_07_28_000001) do
|
||||
t.index ["name"], name: "idx_softwares_name", unique: true
|
||||
end
|
||||
|
||||
add_foreign_key "admin_users", "members"
|
||||
add_foreign_key "downloads", "releases", name: "fk_downloads_release"
|
||||
add_foreign_key "external_links", "softwares", name: "fk_softwares_external_links"
|
||||
add_foreign_key "members", "images"
|
||||
|
||||
Reference in New Issue
Block a user