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:
@@ -8,6 +8,7 @@ CREATE TABLE IF NOT EXISTS mcp_server_configs (
|
||||
description TEXT,
|
||||
last_connected_at TIMESTAMPTZ,
|
||||
created_by UUID,
|
||||
deleted_at TIMESTAMPTZ,
|
||||
created_at TIMESTAMPTZ DEFAULT NOW(),
|
||||
updated_at TIMESTAMPTZ DEFAULT NOW()
|
||||
);
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
-- Fix: McpServerConfig inherits TenantMixin -> SoftDeleteMixin (deleted_at)
|
||||
-- Migration 0001 did not include this column, causing queries to crash
|
||||
ALTER TABLE mcp_server_configs ADD COLUMN IF NOT EXISTS deleted_at TIMESTAMPTZ;
|
||||
Reference in New Issue
Block a user