diff src/lib/Db.luan @ 10:f9e6a4cc4f7d

add Post
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Oct 2024 23:18:45 -0600
parents 2da10ece826f
children 9298b04607ae
line wrap: on
line diff
--- a/src/lib/Db.luan	Wed Oct 30 10:18:13 2024 -0600
+++ b/src/lib/Db.luan	Wed Oct 30 23:18:45 2024 -0600
@@ -24,6 +24,8 @@
 Db.indexed_fields.chat_user_ids = Lucene.type.long
 Db.indexed_fields.chat_updated = Lucene.type.long
 
+Db.indexed_fields.post_chat_id = Lucene.type.long
+
 function Db.not_in_transaction()
 	logger.error(new_error("not in transaction"))
 end