Clean trust center access
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -4,7 +4,6 @@ CREATE TABLE trust_center_accesses (
|
||||
trust_center_id TEXT NOT NULL REFERENCES trust_centers(id) ON DELETE CASCADE,
|
||||
email CITEXT NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
active BOOLEAN NOT NULL DEFAULT true,
|
||||
created_at TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
updated_at TIMESTAMP WITH TIME ZONE NOT NULL,
|
||||
UNIQUE(trust_center_id, email)
|
||||
|
||||
Reference in New Issue
Block a user