fix: add missing deleted_at columns to all plugin tables, fix system-settings response schema, fix transaction rollback in permissions
This commit is contained in:
@@ -6,6 +6,7 @@ CREATE TABLE IF NOT EXISTS entity_links (
|
||||
entity_type VARCHAR(20) NOT NULL,
|
||||
entity_id UUID NOT NULL,
|
||||
created_by UUID,
|
||||
deleted_at TIMESTAMPTZ,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
CONSTRAINT uq_entity_links_file_entity UNIQUE (tenant_id, file_id, entity_type, entity_id)
|
||||
|
||||
Reference in New Issue
Block a user