mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-04 05:30:53 -04:00
add org invite template to db
This commit is contained in:
@@ -225,13 +225,7 @@ organisation_to_service = db.Table(
|
||||
'organisation_to_service',
|
||||
db.Model.metadata,
|
||||
# service_id is a primary key as you can only have one organisation per service
|
||||
db.Column(
|
||||
'service_id',
|
||||
UUID(as_uuid=True),
|
||||
db.ForeignKey('services.id'),
|
||||
primary_key=True,
|
||||
unique=True,
|
||||
nullable=False),
|
||||
db.Column('service_id', UUID(as_uuid=True), db.ForeignKey('services.id'), primary_key=True, nullable=False),
|
||||
db.Column('organisation_id', UUID(as_uuid=True), db.ForeignKey('organisation.id'), nullable=False),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user