Added clear-sessions patch
This commit is contained in:
parent
3a7a9dea65
commit
e47ad51060
12
patches/clear-sessions/clear-sessions.go
Normal file
12
patches/clear-sessions/clear-sessions.go
Normal file
@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
color.Yellow("Deleting all sessions...")
|
||||
arn.DB.DeleteTable("Session")
|
||||
color.Green("Finished.")
|
||||
}
|
Loading…
Reference in New Issue
Block a user