@spytecgps/nova-orm 1.4.79 → 1.4.80

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.
@@ -57,10 +57,10 @@ class createUserAuthorizedBoundarySecurityViewV21684483705000 {
57
57
  AND NOT EXISTS (
58
58
  SELECT 1
59
59
  FROM entityTag ut
60
- JOIN userSecurityRole usr
61
- ON usr.userId = ut.userId
62
- WHERE ut.entityType = 'User'
63
- AND ut.isSecurityGroup = 1
60
+ WHERE ut.clientId = uab.clientId
61
+ AND ut.userId = uab.userId
62
+ AND ut.entityType = 'User'
63
+ AND ut.isSecurityGroup = 1
64
64
  )
65
65
  );
66
66
  `);
@@ -56,10 +56,10 @@ class createUserAuthorizedDeviceSecurityViewV21684483706000 {
56
56
  AND NOT EXISTS (
57
57
  SELECT 1
58
58
  FROM entityTag ut
59
- JOIN userSecurityRole usr
60
- ON usr.userId = ut.userId
61
- WHERE ut.entityType = 'User'
62
- AND ut.isSecurityGroup = 1
59
+ WHERE ut.clientId = uad.clientId
60
+ AND ut.userId = uad.userId
61
+ AND ut.entityType = 'User'
62
+ AND ut.isSecurityGroup = 1
63
63
  )
64
64
  );
65
65
  `);
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var _1684483706000CreateUserAuthorizedDeviceSecurityViewV2 = require('../1684483706000-createUserAuthorizedDeviceSecurityViewV2.js');
4
3
  var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
4
+ var _1684483706000CreateUserAuthorizedDeviceSecurityViewV2 = require('../1684483706000-createUserAuthorizedDeviceSecurityViewV2.js');
5
5
  var _1684483705000CreateUserAuthorizedBoundarySecurityViewV2 = require('../1684483705000-createUserAuthorizedBoundarySecurityViewV2.js');
6
6
 
7
7
 
8
8
 
9
- exports.createUserAuthorizedDeviceSecurityViewV21684483706000 = _1684483706000CreateUserAuthorizedDeviceSecurityViewV2.createUserAuthorizedDeviceSecurityViewV21684483706000;
10
9
  exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
10
+ exports.createUserAuthorizedDeviceSecurityViewV21684483706000 = _1684483706000CreateUserAuthorizedDeviceSecurityViewV2.createUserAuthorizedDeviceSecurityViewV21684483706000;
11
11
  exports.createUserAuthorizedBoundarySecurityViewV21684483705000 = _1684483705000CreateUserAuthorizedBoundarySecurityViewV2.createUserAuthorizedBoundarySecurityViewV21684483705000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.4.79",
3
+ "version": "1.4.80",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",