fix a info
This commit is contained in:
parent
bb9ea2fb26
commit
dd19e64091
@ -4,7 +4,7 @@ import { DB as DBConfig, System as SystemConfig } from '../config'
|
|||||||
export default new Sequelize(DBConfig.database, DBConfig.username, DBConfig.password, {
|
export default new Sequelize(DBConfig.database, DBConfig.username, DBConfig.password, {
|
||||||
host: DBConfig.host,
|
host: DBConfig.host,
|
||||||
dialect: SystemConfig.db_type,
|
dialect: SystemConfig.db_type,
|
||||||
dialectOptions: { //MySQL > 5.5,其它数据库删除此项
|
dialectOptions: { // MySQL > 5.5,其它数据库删除此项
|
||||||
charset: 'utf8mb4',
|
charset: 'utf8mb4',
|
||||||
collate: 'utf8mb4_unicode_520_ci',
|
collate: 'utf8mb4_unicode_520_ci',
|
||||||
supportBigNumbers: true,
|
supportBigNumbers: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user