This commit is contained in:
yumoqing 2026-04-16 15:15:52 +08:00
parent fa8df43a5f
commit 1518acf709
2 changed files with 8 additions and 7 deletions

View File

@ -58,6 +58,7 @@ for module in appbase rbac customer_management opportunity_management contract_m
# Apply DDL if generated
if [ -f "$APP_DIR/pkgs/$module/mysql.ddl.sql" ] && [ -s "$APP_DIR/pkgs/$module/mysql.ddl.sql" ]; then
mysql -h db -utest -ptest123 crm_db < $APP_DIR/pkgs/$module/mysql.ddl.sql
echo "Generated DDL for $module"
fi
fi

View File

@ -1,5 +1,5 @@
{
"password_key": "your-encryption-key-here",
"password_key": "!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
"logger": {
"name": "integrated_crm_app",
"level": "info",
@ -10,11 +10,11 @@
"crm_db": {
"driver": "mysql",
"kwargs": {
"host": "localhost",
"host": "db",
"port": 3306,
"user": "crm_user",
"passwd": "crm_password",
"db": "crm_database"
"user": "test",
"passwd": "SS+C1MDMJrslBwGzYIv3nQ==",
"db": "crm_db"
}
}
},