refactor: 彻底清除所有openhis痕迹
- 重命名目录: openhis-server-new → healthlink-his-server - 重命名目录: openhis-ui-vue3 → healthlink-his-ui - 重命名Java类: OpenHisApplication → HealthLinkHisApplication - 重命名Java类: OpenHisMiniApp → HealthLinkHisMiniApp - 重命名组件目录: OpenHis → HealthLinkHis - 重命名样式文件: openhis.scss → healthlink-his.scss - 重命名配置: nginx-openhis.conf → nginx-healthlink-his.conf - 更新所有源码引用 (0个残留) - 更新所有文档/脚本/配置中的引用
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Flyway 数据库迁移使用指南
|
||||
|
||||
> **项目**: OpenHIS 医院管理系统
|
||||
> **项目**: HealthLink-HIS 医院管理系统
|
||||
> **数据库**: PostgreSQL 192.168.110.252:15432 (schema: hisdev)
|
||||
> **Flyway 版本**: 8.5.x (Spring Boot 2.7 管理)
|
||||
> **编制日期**: 2026-06-04
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
**迁移文件目录:**
|
||||
```
|
||||
openhis-server-new/openhis-application/src/main/resources/db/migration/
|
||||
healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/
|
||||
```
|
||||
|
||||
**当前状态:**
|
||||
@@ -92,9 +92,9 @@ CREATE INDEX idx_surgery_stats_tenant ON surgery_schedule_stats(tenant_id);
|
||||
**Step 2:启动应用**
|
||||
|
||||
```bash
|
||||
cd openhis-server-new
|
||||
cd healthlink-his-server
|
||||
mvn clean package -DskipTests
|
||||
java -jar openhis-application/target/openhis-application.jar --spring.profiles.active=dev --server.port=18082
|
||||
java -jar healthlink-his-application/target/healthlink-his-application.jar --spring.profiles.active=dev --server.port=18082
|
||||
```
|
||||
|
||||
**Step 3:Flyway 自动执行**
|
||||
@@ -214,7 +214,7 @@ PGPASSWORD=Jchl1528 psql -h 192.168.110.252 -p 15432 -U postgresql -d postgresql
|
||||
-c "SET search_path TO hisdev; DROP TABLE IF EXISTS clinic_referral;"
|
||||
|
||||
# 3. 删除迁移文件
|
||||
rm openhis-server-new/openhis-application/src/main/resources/db/migration/V6__create_clinic_referral_table.sql
|
||||
rm healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/V6__create_clinic_referral_table.sql
|
||||
|
||||
# 4. 重启应用
|
||||
```
|
||||
@@ -252,7 +252,7 @@ SELECT MAX(version) AS current_version FROM flyway_schema_history;
|
||||
## 九、文件清单
|
||||
|
||||
```
|
||||
openhis-server-new/openhis-application/src/main/resources/db/migration/
|
||||
healthlink-his-server/healthlink-his-application/src/main/resources/db/migration/
|
||||
├── README.md # 使用说明
|
||||
├── V1__baseline_marker.sql # 基线标记(空文件)
|
||||
├── V2__xxx.sql # 你的第一个迁移
|
||||
|
||||
Reference in New Issue
Block a user