You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -445,7 +445,7 @@ export const dropSyncInsertTriggerFunction = sql`DROP FUNCTION IF EXISTS ${LINKS
445
445
446
446
exportconstcreateSyncDeleteTriggerFunction=sql`CREATE OR REPLACE FUNCTION ${LINKS_TABLE_NAME}__sync__handlers__delete__trigger__function() RETURNS TRIGGER AS $$ ${triggerFunctionFabric(handleDeleteId,false)} $$ LANGUAGE plv8;`;
447
447
exportconstcreateSyncDeleteTrigger=sql`CREATE TRIGGER a_${LINKS_TABLE_NAME}__sync__handlers__delete__trigger AFTER DELETE ON "links" FOR EACH ROW EXECUTE PROCEDURE ${LINKS_TABLE_NAME}__sync__handlers__delete__trigger__function();`;
448
-
exportconstdropSyncDeleteTrigger=sql`DROP TRIGGER a_${LINKS_TABLE_NAME}__sync__delete__handler__trigger ON "${LINKS_TABLE_NAME}";`;
448
+
exportconstdropSyncDeleteTrigger=sql`DROP TRIGGER a_${LINKS_TABLE_NAME}__sync__handlers__delete__trigger ON "${LINKS_TABLE_NAME}";`;
449
449
exportconstdropSyncDeleteTriggerFunction=sql`DROP FUNCTION IF EXISTS ${LINKS_TABLE_NAME}__sync__handlers__delete__trigger__function CASCADE;`;
exportconstcreateMathjsFunction=sql`CREATE OR REPLACE FUNCTION ${LINKS_TABLE_NAME}__sync__handlers__mathjs__package(link jsonb, handletypeid bigint) RETURNS jsonb AS $$ ${mathjsFunction} $$ LANGUAGE plv8;`;
28
-
exportconstdropMathjsFunction=sql`DROP FUNCTION IF EXISTS ${LINKS_TABLE_NAME}__sync__handlers__mathjs__package CASCADE;`;
exportconstcreateMathjsFunction=`CREATE OR REPLACE FUNCTION links__sync__handlers__mathjs__package() RETURNS jsonb AS $code$ ${mathjsFunction} $code$ LANGUAGE plv8;`;
15
+
exportconstdropMathjsFunction=`DROP FUNCTION IF EXISTS links__sync__handlers__mathjs__package CASCADE;`;
0 commit comments