Use template0 for creating database for issue238
This commit is contained in:
1 parent
e9f0f605d5
commit
5596b752db
1 file changed
+1
-1
@@ -38,7 +38,7 @@ class DB(Service):
|
||||
try:
|
||||
try:
|
||||
cursor.execute('CREATE DATABASE "' + db_name + '" '\
|
||||
'ENCODING \'unicode\'')
|
||||
'TEMPLATE template0 ENCODING \'unicode\'')
|
||||
cursor.commit()
|
||||
cursor.close()
|
||||
|
||||
|
||||
Reference in new issue
Block a user