mirror of
https://github.com/google/nomulus
synced 2026-09-05 07:37:09 +00:00
Update creation script for schema_deployer (#1019)
* Update creation script for schema_deployer Move the create user command for schema_deployer before the initialization of roles. As the owner of all schema objects, it needs to be present before grant statements are executed. Also fixed a bug in credential printing, which fails when the password contains '%'.
This commit is contained in:
@@ -75,7 +75,7 @@ public class GetSqlCredentialCommand implements Command {
|
||||
"%s %s %s", cloudSqlInstanceConnectionName, credential.login(), credential.password());
|
||||
|
||||
if (outputPath == null) {
|
||||
System.out.printf(outputText);
|
||||
System.out.print(outputText);
|
||||
return;
|
||||
}
|
||||
try (FileOutputStream out = new FileOutputStream(outputPath.toFile())) {
|
||||
|
||||
Reference in New Issue
Block a user