oak-db 2.2.7 → 2.2.8

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.
@@ -136,6 +136,9 @@ var MySqlTranslator = /** @class */ (function (_super) {
136
136
  if (type === 'ref') {
137
137
  return 'char(36)';
138
138
  }
139
+ if (type === 'money') {
140
+ return 'bigint';
141
+ }
139
142
  if (type === 'enum') {
140
143
  (0, assert_1.default)(enumeration);
141
144
  return "enum(".concat(enumeration.map(function (ele) { return "'".concat(ele, "'"); }).join(','), ")");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-db",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "oak-db",
5
5
  "main": "lib/index",
6
6
  "author": {
@@ -18,7 +18,7 @@
18
18
  "lodash": "^4.17.21",
19
19
  "mysql": "^2.18.1",
20
20
  "mysql2": "^2.3.3",
21
- "oak-domain": "^2.6.3",
21
+ "oak-domain": "^2.6.4",
22
22
  "uuid": "^8.3.2"
23
23
  },
24
24
  "license": "ISC",
@@ -29,7 +29,7 @@
29
29
  "@types/node": "^17.0.42",
30
30
  "@types/uuid": "^8.3.4",
31
31
  "mocha": "^10.0.0",
32
- "oak-general-business": "^2.5.3",
32
+ "oak-general-business": "^2.5.4",
33
33
  "ts-node": "~10.9.1",
34
34
  "tslib": "^2.4.0",
35
35
  "typescript": "~4.7.4"