trivial: fix typo in LC_COLLATE name

This commit is contained in:
Thomas NOËL 2019-11-27 09:45:01 +01:00
parent 4b773d7670
commit 34c2e14ecb
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ def gen_cmd(database, role, password):
else:
out.append("CREATE USER \"{}\";".format(role))
out.append("CREATE DATABASE {} WITH OWNER = \"{}\" TEMPLATE = template0 "
"LC_COLLATE = 'fr_FR.UTF_8' LC_CTYPE = 'fr_FR.UTF-8';".format(database, role))
"LC_COLLATE = 'fr_FR.UTF-8' LC_CTYPE = 'fr_FR.UTF-8';".format(database, role))
if database == 'wcs':
out.append("ALTER USER wcs CREATEDB;")
return " ".join(out)