Commit ae8661d3 authored by Nick Sellen's avatar Nick Sellen

Initialize dev db with utf8mb4

parent 7b5a628b
......@@ -102,7 +102,10 @@ function dropdb() {
function createdb() {
local database=$1;
echo "Creating database $FS_ENV/$database"
sql-query mysql "create database if not exists $database"
sql-query mysql "\
create database if not exists $database; \
alter database $database character set = utf8mb4 collate = utf8mb4_unicode_ci; \
"
}
function recreatedb() {
......
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