P.S. The correct version of the command for deletion of events is:
```
#!/usr/bin/env bash
sqlite3 /path/to/nostr-relay/nostr.db "DELETE FROM event WHERE created_at < CAST(strftime('%s', datetime('now', '-365 days')) as INTEGER);"
```
Login to reply