rez_core 5.0.158 → 5.0.160

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": "rez_core",
3
- "version": "5.0.158",
3
+ "version": "5.0.160",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -79,10 +79,10 @@ export class EntityDynamicService {
79
79
 
80
80
  if (!entityData.code && entityData.entity_type && entityMaster) {
81
81
  // Extract integer suffix
82
- const repo = this.reflectionHelper.getRepoService(entityMaster.entity_data_class);
82
+ // const repo = this.reflectionHelper.getRepoService(entityMaster.entity_data_class);
83
83
 
84
84
  const result = this.entityManager.query(
85
- `SELECT MAX(id) as seq_no FROM ${entityMaster.db_table_name}`
85
+ `SELECT MAX(id) as seq_no FROM ${this.schema}.${entityMaster.db_table_name}`
86
86
  )
87
87
 
88
88
  let maxSeq = Number(result[0]?.max_seq_no) || 0;