Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤준석
/
mamuri-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
윤준석
2022-05-30 23:40:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82b6daf0d231b26b115e79f8b30b094a07a697a8
82b6daf0
1 parent
eba0d9f9
HOTFIX: change charset and collate in database to utf8mb4 and utf8mb4_general_ci for korean
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
server/config/config.json
server/models/keyword.js
server/models/user.js
server/config/config.json
View file @
82b6daf
...
...
@@ -6,8 +6,10 @@
"host"
:
"mamuri-db"
,
"port"
:
"3306"
,
"dialect"
:
"mysql"
,
"charset"
:
"utf8"
,
"collate"
:
"utf8_general_ci"
"define"
:
{
"charset"
:
"utf8mb4"
,
"collate"
:
"utf8mb4_general_ci"
}
},
"test"
:
{
"username"
:
"root"
,
...
...
server/models/keyword.js
View file @
82b6daf
...
...
@@ -11,7 +11,7 @@ module.exports = (sequelize, DataTypes) => {
allowNull
:
false
}
},
{
charset
:
"utf8"
,
collate
:
"utf8_general_ci"
charset
:
"utf8
mb4
"
,
collate
:
"utf8
mb4
_general_ci"
})
}
\ No newline at end of file
...
...
server/models/user.js
View file @
82b6daf
...
...
@@ -11,7 +11,7 @@ module.exports = (sequelize, DataTypes) => {
allowNull
:
false
}
},
{
charset
:
"utf8"
,
collate
:
"utf8_general_ci"
charset
:
"utf8
mb4
"
,
collate
:
"utf8
mb4
_general_ci"
})
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment