expired subscriptions and deleted topics with no subscribers are now removed from...
[websub-hub] / src / db / postgres / sql / topic-delete-by-id.sql
diff --git a/src/db/postgres/sql/topic-delete-by-id.sql b/src/db/postgres/sql/topic-delete-by-id.sql
new file mode 100644 (file)
index 0000000..1378016
--- /dev/null
@@ -0,0 +1,4 @@
+--
+DELETE FROM topic
+WHERE id = $(topicId)
+