mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-15 16:52:48 -05:00
Store profile usernames in lowercase for speedup
This commit is contained in:
@@ -12,6 +12,7 @@ dbTypes:
|
||||
Profile* = object
|
||||
username*: string
|
||||
fullname*: string
|
||||
lowername*: string
|
||||
location*: string
|
||||
website*: string
|
||||
bio*: string
|
||||
@@ -25,9 +26,9 @@ dbTypes:
|
||||
verified*: bool
|
||||
protected*: bool
|
||||
joinDate* {.
|
||||
dbType: "INTEGER"
|
||||
parseIt: it.i.fromUnix()
|
||||
formatIt: dbValue(it.toUnix())
|
||||
dbType: "INTEGER"
|
||||
parseIt: it.i.fromUnix()
|
||||
formatIt: dbValue(it.toUnix())
|
||||
.}: Time
|
||||
updated* {.
|
||||
dbType: "INTEGER"
|
||||
|
||||
Reference in New Issue
Block a user