Mercurial Hosting > chat
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 9:b8b12fd8be22 | 10:f9e6a4cc4f7d |
|---|---|
| 22 Db.indexed_fields.user_email = Lucene.type.lowercase | 22 Db.indexed_fields.user_email = Lucene.type.lowercase |
| 23 | 23 |
| 24 Db.indexed_fields.chat_user_ids = Lucene.type.long | 24 Db.indexed_fields.chat_user_ids = Lucene.type.long |
| 25 Db.indexed_fields.chat_updated = Lucene.type.long | 25 Db.indexed_fields.chat_updated = Lucene.type.long |
| 26 | 26 |
| 27 Db.indexed_fields.post_chat_id = Lucene.type.long | |
| 28 | |
| 27 function Db.not_in_transaction() | 29 function Db.not_in_transaction() |
| 28 logger.error(new_error("not in transaction")) | 30 logger.error(new_error("not in transaction")) |
| 29 end | 31 end |
| 30 | 32 |
| 31 Db.update{ | 33 Db.update{ |
