member_center/docs/INSTALL.md
2026-01-30 16:57:29 +09:00

17 lines
516 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 安裝與初始化Schema + Seed
提供一個簡單安裝流程,將 DB schema 與種子資料一起初始化。
## 內容
- Schema`docs/SCHEMA.sql`
- Seed`docs/SEED.sql`
## 建議流程(範例)
1) 建立資料庫
2) 執行 `SCHEMA.sql`
3) 執行 `SEED.sql`(包含預設 admin 角色與初始帳號)
## 注意事項
- `docs/SEED.sql``admin@example.com``<PASSWORD_HASH>` 為預設值,請部署前替換
- 若使用 ASP.NET Core Identity請使用對應的密碼雜湊格式