We may use function `addTableIndex('$path')` from `src/containers/Tenant/utils/schemaQueryTemplates.ts` . In most cases templates are identical.
What do you think if we create general template creators and use them if possible? This will prevent double-fixing templates.
Originally posted by @Raubzeug in #1456 (comment)