diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 747902d8..2f3a9ac9 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - os: [windows-latest] + os: [windows-2019] steps: - name: Check out Git repository diff --git a/src/main/libs/clients/MySQLClient.js b/src/main/libs/clients/MySQLClient.js index 996ae7b7..787985d0 100644 --- a/src/main/libs/clients/MySQLClient.js +++ b/src/main/libs/clients/MySQLClient.js @@ -134,7 +134,9 @@ export class MySQLClient extends AntaresCore { port: this._params.port, user: this._params.user, password: this._params.password, - ssl: null + ssl: null, + supportBigNumbers: true, + bigNumberStrings: true }; if (this._params.schema?.length) dbConfig.database = this._params.schema; diff --git a/src/main/libs/clients/SQLiteClient.js b/src/main/libs/clients/SQLiteClient.js index 1323434e..920aa95a 100644 --- a/src/main/libs/clients/SQLiteClient.js +++ b/src/main/libs/clients/SQLiteClient.js @@ -163,7 +163,7 @@ export class SQLiteClient extends AntaresCore { nullable: !field.notnull, unsigned: null, zerofill: null, - order: field.cid + 1, + order: typeof field.cid === 'string' ? +field.cid + 1 : field.cid + 1, default: field.dflt_value, charset: null, collation: null, diff --git a/src/renderer/components/ForeignKeySelect.vue b/src/renderer/components/ForeignKeySelect.vue index b0afb960..8412f133 100644 --- a/src/renderer/components/ForeignKeySelect.vue +++ b/src/renderer/components/ForeignKeySelect.vue @@ -7,7 +7,7 @@ @blur="$emit('blur')" >