Fixed editing service

This commit is contained in:
2025-04-16 15:17:03 +02:00
parent 7fc3cc4de8
commit 98dc56beeb
3 changed files with 16 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ class Service(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String, nullable=False)
url = db.Column(db.String, nullable=False)
icon = db.Column(db.String, nullable=False, default="google.png")
icon = db.Column(db.String, default="google.png")
user_id = db.Column(db.Integer, db.ForeignKey("user.id"), nullable=False)