Browse Source

fix: mssql update trigger

pull/2442/head
Wing-Kam Wong 2 years ago
parent
commit
7e01e932bd
  1. 5
      packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts
  2. 14
      packages/nocodb/package-lock.json
  3. 2
      packages/nocodb/package.json

5
packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts

@ -123,6 +123,7 @@ export class MssqlUi {
pk: false,
un: false,
ai: false,
au: true,
cdf: 'GETDATE()',
clen: 45,
np: null,
@ -919,7 +920,9 @@ export class MssqlUi {
// if (1) {
col.altered = col.altered || 2;
// }
if (col.au) {
col.cdf = 'GETDATE()';
}
// if (!col.ai) {
// col.dtx = 'specificType'
// } else {

14
packages/nocodb/package-lock.json generated

@ -70,7 +70,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-common": "0.0.6",
"nc-help": "0.2.63",
"nc-help": "0.2.65",
"nc-lib-gui": "0.91.10",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",
@ -16352,9 +16352,9 @@
}
},
"node_modules/nc-help": {
"version": "0.2.63",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.63.tgz",
"integrity": "sha512-eB3XRRi4JyCIsCiniyvsSciKeDZovSkkxYxxAOY7JK65pbACfGETKhAhjHBm7BinWOOBVoqaAJFabZcBUHgvcg==",
"version": "0.2.65",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.65.tgz",
"integrity": "sha512-Sia+ZhfrCCFu70khjVCUMJ7B8xYlSyfatKt7WERDzqiykC7rOGFxfyhKPfhDzep+X1CDT3R+psd4lTi4d52wdg==",
"dependencies": {
"@rudderstack/rudder-sdk-node": "^1.1.3",
"axios": "^0.21.1",
@ -38040,9 +38040,9 @@
"integrity": "sha512-3AryS9uwa5NfISLxMciUonrH7YfXp+nlahB9T7girXIsLQrmwX4MdnuKs32akduCOGpKmjTJSWmATULbuMkbfw=="
},
"nc-help": {
"version": "0.2.63",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.63.tgz",
"integrity": "sha512-eB3XRRi4JyCIsCiniyvsSciKeDZovSkkxYxxAOY7JK65pbACfGETKhAhjHBm7BinWOOBVoqaAJFabZcBUHgvcg==",
"version": "0.2.65",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.65.tgz",
"integrity": "sha512-Sia+ZhfrCCFu70khjVCUMJ7B8xYlSyfatKt7WERDzqiykC7rOGFxfyhKPfhDzep+X1CDT3R+psd4lTi4d52wdg==",
"requires": {
"@rudderstack/rudder-sdk-node": "^1.1.3",
"axios": "^0.21.1",

2
packages/nocodb/package.json

@ -154,7 +154,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-common": "0.0.6",
"nc-help": "0.2.63",
"nc-help": "0.2.65",
"nc-lib-gui": "0.91.10",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",

Loading…
Cancel
Save