Skip to content

Commit

Permalink
Merge pull request #108 from gusrc/fix_postgres_collation_template
Browse files Browse the repository at this point in the history
Fix postgresql database collation and template.
  • Loading branch information
legal90 committed May 9, 2016
2 parents 67f7ce6 + 0eb2210 commit 7501e33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
postgresql_database settings['database']['name'] do
connection confluence_database_connection
connection_limit '-1'
# See: https://confluence.atlassian.com/display/JIRAKB/Health+Check%3A+Database+Collation
encoding 'utf8'
collation 'C'
template 'template0'
owner settings['database']['user']
action :create
end
Expand Down

0 comments on commit 7501e33

Please sign in to comment.