fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean

This commit is contained in:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
+19
View File
@@ -0,0 +1,19 @@
-- ============================================================================
-- 数据库初始化指南 (PostgreSQL)
-- ============================================================================
--
-- 步骤 1: 创建数据库
-- psql -U postgres -c "CREATE DATABASE back_cover;"
--
-- 步骤 2: 首次启动应用(自动创建表结构)
-- 运行后端应用,Ent ORM 会自动创建所有表
-- cd d:\hardman\back_cover
-- go run hougai.go -f etc/hougai-api.yaml
--
-- 步骤 3: 插入种子数据
-- 等待应用成功启动并创建表后,执行:
-- psql -U postgres -d back_cover -f doc/data.sql
--
-- 步骤 4: 重启应用
-- 停止第一步运行的应用,重新运行即可
-- ============================================================================