我想使用 Liquibase 创建和更改数据库用户。以下是对 Oracle DB 执行此操作的 SQL 查询。
change password:
ALTER USER ADMIN IDENTIFIED BY ${user.password};
create user:
CREATE USER appuser IDENTIFIED BY ${user.password};
我想让密码参数化,但changelog Property Substitution
在 SQL 格式中不可用。
我选择 XML 作为后备选项,但无法将上述查询转换为 Liquibase XML 格式。我需要帮助将更改/创建用户查询转换为 XML。