Revision 705f2c38 snf-deploy/files/tmp/db-init.psql

b/snf-deploy/files/tmp/db-init.psql
1
UPDATE pg_database SET datctype='C', datcollate='C' WHERE datname='template1';
2

  
1 3
CREATE USER %SYNNEFO_USER% WITH PASSWORD '%SYNNEFO_DB_PASSWD%' CREATEDB;
2 4

  
3 5
CREATE DATABASE snf_apps WITH ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE=template0 OWNER=%SYNNEFO_USER%;

Also available in: Unified diff