comparison src/lib/Db.luan @ 23:0c17c233c45a

start courses
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Jul 2025 23:29:33 -0600
parents b1adec083e44
children 87fe70201aa8
comparison
equal deleted inserted replaced
22:7b35fb1e6603 23:0c17c233c45a
19 Db.indexed_fields.user_email = Lucene.type.lowercase 19 Db.indexed_fields.user_email = Lucene.type.lowercase
20 20
21 Db.indexed_fields.chat_user_id = Lucene.type.long 21 Db.indexed_fields.chat_user_id = Lucene.type.long
22 Db.indexed_fields.chat_updated = Lucene.type.long 22 Db.indexed_fields.chat_updated = Lucene.type.long
23 23
24 Db.indexed_fields.course_user_id = Lucene.type.long
25 Db.indexed_fields.course_language = Lucene.type.string
26
24 Db.restore_from_log() 27 Db.restore_from_log()
25 28
26 if Http.is_serving then 29 if Http.is_serving then
27 Thread.schedule( Db.check, { delay=0, repeating_delay=Time.period{hours=1} } ) 30 Thread.schedule( Db.check, { delay=0, repeating_delay=Time.period{hours=1} } )
28 end 31 end