@powfix/core-js 0.23.3 → 0.23.4
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.
|
@@ -79,7 +79,6 @@ function _type_of(obj) {
|
|
|
79
79
|
}
|
|
80
80
|
var chunkETV4XYOV_cjs = require('../../../chunk-ETV4XYOV.cjs');
|
|
81
81
|
var sequelize = require('sequelize');
|
|
82
|
-
var UuidUtils = require('../../../shared/utils/UuidUtils');
|
|
83
82
|
var constants = require('../../../shared/constants');
|
|
84
83
|
var node = require('@powfix/uuid/node');
|
|
85
84
|
var _SequelizeUtils = /*#__PURE__*/ function() {
|
|
@@ -157,7 +156,7 @@ chunkETV4XYOV_cjs.__publicField(_SequelizeUtils, "buildPrimaryUuidColumn", funct
|
|
|
157
156
|
primaryKey: true,
|
|
158
157
|
unique: true,
|
|
159
158
|
defaultValue: function() {
|
|
160
|
-
return node.UUID.
|
|
159
|
+
return node.UUID.v4().toBuffer();
|
|
161
160
|
}
|
|
162
161
|
}));
|
|
163
162
|
});
|
|
@@ -78,7 +78,6 @@ function _type_of(obj) {
|
|
|
78
78
|
}
|
|
79
79
|
import { __publicField } from '../../../chunk-PKBMQBKP.js';
|
|
80
80
|
import { Op } from 'sequelize';
|
|
81
|
-
import { UuidUtils } from '../../../shared/utils/UuidUtils';
|
|
82
81
|
import { NOT_NULL } from '../../../shared/constants';
|
|
83
82
|
import { UUID } from '@powfix/uuid/node';
|
|
84
83
|
var _SequelizeUtils = /*#__PURE__*/ function() {
|
|
@@ -157,7 +156,7 @@ __publicField(_SequelizeUtils, "buildPrimaryUuidColumn", function() {
|
|
|
157
156
|
primaryKey: true,
|
|
158
157
|
unique: true,
|
|
159
158
|
defaultValue: function() {
|
|
160
|
-
return UUID.
|
|
159
|
+
return UUID.v4().toBuffer();
|
|
161
160
|
}
|
|
162
161
|
}));
|
|
163
162
|
});
|