feat: add hashtag active duration and extend active window on sell
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m18s

This commit is contained in:
2026-03-18 18:51:42 -04:00
parent 561b4d2faf
commit af5484f0cd
7 changed files with 325 additions and 8 deletions
+3 -1
View File
@@ -43,8 +43,10 @@ model Hashtag {
currentPrice Float @default(0.25)
isActive Boolean @default(true)
isBanned Boolean @default(false)
// Consecutive zero-result count; after 3 failed updates the hashtag auto-deactivates
// Consecutive zero-result count (informational)
zeroCount Int @default(0)
// Earliest time this hashtag can be deactivated (set on research + when last position closes)
activeUntil DateTime?
lastUpdated DateTime @default(now())
createdAt DateTime @default(now())