@things-factory/dataset 7.1.20 → 7.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.22",
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.22",
44
+ "@things-factory/aws-base": "^7.1.22",
45
+ "@things-factory/board-service": "^7.1.22",
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",
51
- "@things-factory/shell": "^7.1.17",
52
- "@things-factory/work-shift": "^7.1.20",
53
- "@things-factory/worklist": "^7.1.20",
47
+ "@things-factory/integration-base": "^7.1.22",
48
+ "@things-factory/organization": "^7.1.22",
49
+ "@things-factory/personalization": "^7.1.22",
50
+ "@things-factory/scheduler-client": "^7.1.22",
51
+ "@things-factory/shell": "^7.1.22",
52
+ "@things-factory/work-shift": "^7.1.22",
53
+ "@things-factory/worklist": "^7.1.22",
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": "b4b8efde4096ab1ec02bcf7623e32131254cbfd0"
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
  }