mirror of
https://github.com/google/nomulus.git
synced 2025-07-06 11:13:35 +02: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:
parent
8b2ddf8249
commit
6bee440194
3 changed files with 18 additions and 29 deletions
|
@ -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())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue