Setting internal tables to count as SQL when using SQS.
This commit is contained in:
parent
7a7f7185c9
commit
c4c696baa7
|
@ -15,6 +15,7 @@ import {
|
|||
} from "@budibase/types"
|
||||
import datasources from "../datasources"
|
||||
import sdk from "../../../sdk"
|
||||
import env from "../../../environment"
|
||||
|
||||
export function processTable(table: Table): Table {
|
||||
if (!table) {
|
||||
|
@ -29,6 +30,7 @@ export function processTable(table: Table): Table {
|
|||
} else {
|
||||
return {
|
||||
...table,
|
||||
sql: !!env.SQS_SEARCH_ENABLE,
|
||||
type: "table",
|
||||
sourceId: table.sourceId || INTERNAL_TABLE_SOURCE_ID,
|
||||
sourceType: TableSourceType.INTERNAL,
|
||||
|
|
Loading…
Reference in New Issue