rez_core 5.0.232 → 5.0.236

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.232",
3
+ "version": "5.0.236",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -30,9 +30,6 @@ export class MediaData extends BaseEntity {
30
30
  @Column({ type: 'varchar', length: 50, nullable: true })
31
31
  content_type: string;
32
32
 
33
- @Column({ type: 'varchar', length: 50, nullable: true })
34
- review_status: string;
35
-
36
- @Column({ type: 'varchar', nullable: true })
37
- remark: string;
33
+ @Column({ type: 'json', nullable: true })
34
+ review_info: string;
38
35
  }
@@ -776,7 +776,7 @@ export class EntityDynamicService {
776
776
  // 2. Get current max sequence number from that table
777
777
  const seqResult = await this.entityManager.query(
778
778
  `SELECT MAX(id) AS max_seq_no
779
- FROM ${tableName}
779
+ FROM ${this.schema}.${tableName}
780
780
  WHERE entity_type = $1`,
781
781
  [entityType],
782
782
  );
@@ -175,8 +175,7 @@ export class MediaDataService extends EntityServiceImpl {
175
175
  fileName: mediaData.file_name,
176
176
  id: mediaData.id,
177
177
  size: fileSize,
178
- review_status: mediaData.review_status,
179
- remark: mediaData.remark,
178
+ review_info: mediaData.review_info,
180
179
  };
181
180
  } catch (error) {
182
181
  console.error('Error generating signed URL for media:', error);