Commit 71bcc368 authored by Barkin Simsek's avatar Barkin Simsek 🐢
Browse files

Make field optional for jobs that don't use Tor

parent 163f7e80
......@@ -134,7 +134,7 @@ class FetchBaseModel(BaseModel):
def relay_id(cls) -> Column:
# Fingerprint exit node/relay to use, only required when using Tor
return Column(Integer, ForeignKey(""), nullable=False)
return Column(Integer, ForeignKey(""))
# fmt: off
url = Column(String, nullable=False) # Complete URL including the http/https/ftp prefix and protocol
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment