trivial: fix typo in LC_COLLATE name
This commit is contained in:
parent
4b773d7670
commit
34c2e14ecb
|
@ -120,7 +120,7 @@ def gen_cmd(database, role, password):
|
||||||
else:
|
else:
|
||||||
out.append("CREATE USER \"{}\";".format(role))
|
out.append("CREATE USER \"{}\";".format(role))
|
||||||
out.append("CREATE DATABASE {} WITH OWNER = \"{}\" TEMPLATE = template0 "
|
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':
|
if database == 'wcs':
|
||||||
out.append("ALTER USER wcs CREATEDB;")
|
out.append("ALTER USER wcs CREATEDB;")
|
||||||
return " ".join(out)
|
return " ".join(out)
|
||||||
|
|
Loading…
Reference in New Issue