A 层搬运(整包,源=poc-final 5e09a4cc): 协议四栈/pkg 标准件 12 包/util 计费纯函数/middleware/迁移链 repository·mysql v1~v19+clickhouse/model·entity/config/service·audit·balance/app/cmd·{migrate,reconcile,cmppbench}/tools·gen-dict/_bench/test·integration/openapi·yaml/监控三件/运维资产(compose+kind+CI 两套+Makefile+runbook)/scripts 种子/前端基建(根配置+src 基建目录,views 留 B 层)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
-- ============================================================
|
||||
-- go-sms 基础库初始化(阶段 0:仅建库;36 张业务表在阶段 1 建模)
|
||||
-- 执行:docker exec -i go-sms-mysql mysql -uroot -proot123 < scripts/init_mysql.sql
|
||||
-- 开发账号 gosms/gosms123 已由 docker-compose 环境变量创建
|
||||
-- ============================================================
|
||||
CREATE DATABASE IF NOT EXISTS `gosms`
|
||||
DEFAULT CHARACTER SET utf8mb4
|
||||
DEFAULT COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- 阶段 1 预留:业务表命名规范 <module>_<entity>(如 account_user / channel_conn)
|
||||
-- 迁移统一由 gormigrate 管理(cmd/migrate),禁止手工改表。
|
||||
Reference in New Issue
Block a user