@things-factory/dataset 7.1.20 → 7.1.21

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/dataset",
3
- "version": "7.1.20",
3
+ "version": "7.1.21",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,21 +40,21 @@
40
40
  "@operato/shell": "^7.0.0",
41
41
  "@operato/styles": "^7.0.0",
42
42
  "@operato/utils": "^7.0.0",
43
- "@things-factory/auth-base": "^7.1.20",
44
- "@things-factory/aws-base": "^7.1.20",
45
- "@things-factory/board-service": "^7.1.20",
43
+ "@things-factory/auth-base": "^7.1.21",
44
+ "@things-factory/aws-base": "^7.1.21",
45
+ "@things-factory/board-service": "^7.1.21",
46
46
  "@things-factory/env": "^7.1.16",
47
- "@things-factory/integration-base": "^7.1.20",
48
- "@things-factory/organization": "^7.1.20",
49
- "@things-factory/personalization": "^7.1.20",
50
- "@things-factory/scheduler-client": "^7.1.20",
47
+ "@things-factory/integration-base": "^7.1.21",
48
+ "@things-factory/organization": "^7.1.21",
49
+ "@things-factory/personalization": "^7.1.21",
50
+ "@things-factory/scheduler-client": "^7.1.21",
51
51
  "@things-factory/shell": "^7.1.17",
52
- "@things-factory/work-shift": "^7.1.20",
53
- "@things-factory/worklist": "^7.1.20",
52
+ "@things-factory/work-shift": "^7.1.21",
53
+ "@things-factory/worklist": "^7.1.21",
54
54
  "cron-parser": "^4.3.0",
55
55
  "moment-timezone": "^0.5.45",
56
56
  "simple-statistics": "^7.8.3",
57
57
  "statistics": "^3.3.0"
58
58
  },
59
- "gitHead": "b8381954019a1057a32c23379277c45447708d84"
59
+ "gitHead": "8391c69c808451e0fdc16a5aaa952bb128466f16"
60
60
  }
@@ -204,8 +204,14 @@ export class DataSetHistory implements HistoryEntityInterface<DataSet> {
204
204
  ? 'enum'
205
205
  : DATABASE_TYPE == 'oracle'
206
206
  ? 'varchar2'
207
- : 'smallint',
208
- enum: HistoryActionType
207
+ : DATABASE_TYPE == 'mssql'
208
+ ? 'nvarchar'
209
+ : 'varchar',
210
+ enum:
211
+ DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
212
+ ? HistoryActionType
213
+ : undefined,
214
+ length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
209
215
  })
210
216
  public action!: HistoryActionType
211
217
  }