mirror of
https://github.com/Fabio286/antares.git
synced 2025-03-25 15:50:13 +01:00
fix(MySQL): adjust utf8mb3 encoding to resolve compatibility issue, fixes #646
This commit is contained in:
parent
8e54f7b801
commit
27387f18a1
@ -4,7 +4,9 @@ import dataTypes from 'common/data-types/mysql';
|
||||
import * as antares from 'common/interfaces/antares';
|
||||
import * as mysql from 'mysql2/promise';
|
||||
|
||||
import * as EncodingToCharset from '../../../../node_modules/mysql2/lib/constants/encoding_charset.js';
|
||||
import { BaseClient } from './BaseClient';
|
||||
EncodingToCharset.utf8mb3 = 192; // To fix https://github.com/sidorares/node-mysql2/issues/1398 until not included in mysql2
|
||||
|
||||
export class MySQLClient extends BaseClient {
|
||||
private _schema?: string;
|
||||
|
1
src/renderer/untyped.d.ts
vendored
1
src/renderer/untyped.d.ts
vendored
@ -3,6 +3,7 @@
|
||||
declare module '@/App.vue';
|
||||
declare module 'v-mask';
|
||||
declare module 'json2php';
|
||||
declare module '*/encoding_charset.js';
|
||||
declare module 'vuedraggable' {// <- to export as default
|
||||
const draggableComponent: import('vue').DefineComponent<{
|
||||
list: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user