mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 13:41:38 -04:00
110067722: Added endpoints for add-service
Post is not complete as of yet.
This commit is contained in:
@@ -90,7 +90,7 @@ class Service(db.Model):
|
||||
__tablename__ = 'services'
|
||||
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
name = db.Column(db.String(255), nullable=False)
|
||||
name = db.Column(db.String(255), nullable=False, unique=True)
|
||||
|
||||
token_id = db.Column(db.BigInteger, index=True, unique=True)
|
||||
created_at = db.Column(db.DateTime, index=False, unique=False, nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user