Commit f8fcdba8 authored by Christos Stavrakakis's avatar Christos Stavrakakis

deploy: Set LC_COLLATE to 'C'

Update postgresql default template ('template1'), to have LC_COLLATE='C'
and LC_CTYPE='C'. This is needed for test database that is created from
django, without the ability to set a different template.
parent 8609ecbf
UPDATE pg_database SET datctype='C', datcollate='C' WHERE datname='template1';
CREATE USER %SYNNEFO_USER% WITH PASSWORD '%SYNNEFO_DB_PASSWD%' CREATEDB;
CREATE DATABASE snf_apps WITH ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE=template0 OWNER=%SYNNEFO_USER%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment