config-db: add column to permissions table
This commit is contained in:
parent
528f25d84b
commit
e8b662d3fb
|
@ -82,7 +82,8 @@
|
||||||
granted_by VARCHAR(255) NOT NULL,
|
granted_by VARCHAR(255) NOT NULL,
|
||||||
granted_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
granted_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||||
expires_at TIMESTAMP NULL,
|
expires_at TIMESTAMP NULL,
|
||||||
node_id INT NOT NULL
|
node_id INT NOT NULL,
|
||||||
|
status VARCHAR(255) NOT NULL
|
||||||
)
|
)
|
||||||
- CREATE INDEX IF NOT EXISTS idx_recipient ON permissions (recipient)
|
- CREATE INDEX IF NOT EXISTS idx_recipient ON permissions (recipient)
|
||||||
- CREATE INDEX IF NOT EXISTS idx_granted_by ON permissions (granted_by)
|
- CREATE INDEX IF NOT EXISTS idx_granted_by ON permissions (granted_by)
|
||||||
|
|
Loading…
Reference in New Issue