xingyun-maseter/xingyun-api/src/main/resources/db/SQL文件说明,重要!!!!!!.txt
2025-06-10 18:07:21 +08:00

5 lines
565 B
Plaintext
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.

all目录中的是全量SQL其中platform.sql是平台库SQLtenant.sql是租户库SQL。
migration目录中的是增量SQL其中platform目录中是平台库的增量SQLtenant目录中是租户库的增量SQL。
如果不使用多租户那么平台库和租户库的SQL就在同一个库中执行。
使用多租户时租户库是从平台库的tenant表中获取的不要忘记修改这个表里面的数据
tenant表中存储的密码不是明文密码需要将明文密码加密后存储参见EncryptUtil中的main方法进行转换。