mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Another change on PG set UTF8
This commit is contained in:
parent
8f906508aa
commit
b3c81edb5d
1 changed files with 7 additions and 4 deletions
|
@ -68,10 +68,13 @@ sudo npm install -g yarn
|
|||
<<<<<<< HEAD
|
||||
# Set UTF8 encoding by default
|
||||
sudo su -c "psql" postgres <<< \
|
||||
"update pg_database set datistemplate='false' where datname='template1';"\
|
||||
"drop database template1;"\
|
||||
"create database template1 encoding='UTF8' template template0;"\
|
||||
"update pg_database set datistemplate='true' where datname='template1';"
|
||||
"update pg_database set datistemplate='false' where datname='template1';"
|
||||
sudo su -c "psql" postgres <<< \
|
||||
"drop database template1;"
|
||||
sudo su -c "psql" postgres <<< \
|
||||
"create database template1 encoding='UTF8' template template0;"
|
||||
sudo su -c "psql" postgres <<< \
|
||||
"update pg_database set datistemplate='true' where datname='template1';"
|
||||
|
||||
# Create DB user mastodon
|
||||
=======
|
||||
|
|
Loading…
Reference in a new issue