mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
Merge pull request #13890 from ToolJet/fix/tjdb-clone
Fixed app clone losing tjdb table reference
This commit is contained in:
commit
43e238cad7
4 changed files with 4 additions and 4 deletions
2
.version
2
.version
|
|
@ -1 +1 @@
|
|||
3.16.15-lts
|
||||
3.16.16-lts
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.16.15-lts
|
||||
3.16.16-lts
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.16.15-lts
|
||||
3.16.16-lts
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export class InternalTableRepository extends Repository<InternalTable> {
|
|||
.getRepository('data_queries')
|
||||
.createQueryBuilder('data_queries')
|
||||
.innerJoin('data_sources', 'data_sources', 'data_queries.data_source_id = data_sources.id')
|
||||
.innerJoin('app_versions', 'app_versions', 'app_versions.id = data_sources.app_version_id')
|
||||
.innerJoin('app_versions', 'app_versions', 'app_versions.id = data_queries.app_version_id')
|
||||
.where('app_versions.app_id = :appId', { appId })
|
||||
.andWhere('data_sources.kind = :kind', { kind: 'tooljetdb' })
|
||||
.getMany();
|
||||
|
|
|
|||
Loading…
Reference in a new issue