history snapshot make collectionId customizable

This commit is contained in:
shamsmosowi
2022-10-04 12:25:53 +02:00
parent a1473cf58c
commit 751fa29be9

View File

@@ -95,6 +95,7 @@ const extensionBodyTemplate = {
return ({
trackedFields: [], // a list of string of column names
collectionId: "historySnapshots", // optionally change the sub-collection id of where the history snapshots are stored
})
}`,
algoliaIndex: `const extensionBody: AlgoliaIndexBody = async({row, db, change, ref}) => {