Skip to content

Commit e167359

Browse files
committed
fix: "cannot drop view pg_stat_statements_info because extension
pg_stat_statements requires it" error
1 parent 4f9262c commit e167359

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.agents/agent-config.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414

1515
import type * as Tools from './tools'
1616
export type { Tools }
17-
1817
type ToolName = Tools.ToolName
1918

2019
// ============================================================================
2120
// Core Agent Configuration Types
2221
// ============================================================================
2322

2423
export interface AgentConfig {
25-
/** Unique identifier for this agent. Use alphanumeric characters and hyphens only, e.g. 'code-reviewer' */
24+
/** Unique identifier for this agent. Must contain only lowercase letters, numbers, and hyphens, e.g. 'code-reviewer' */
2625
id: string
2726

2827
/** Version string (if not provided, will default to '0.0.1' and be bumped on each publish) */

common/src/db/drizzle.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { defineConfig } from 'drizzle-kit'
1+
import path from 'path'
22

33
import { env } from '@codebuff/internal'
4-
5-
import path from 'path'
4+
import { defineConfig } from 'drizzle-kit'
65

76
export default defineConfig({
87
dialect: 'postgresql',
@@ -11,4 +10,5 @@ export default defineConfig({
1110
dbCredentials: {
1211
url: env.DATABASE_URL,
1312
},
13+
tablesFilter: ['*', '!pg_stat_statements', '!pg_stat_statements_info'],
1414
})

0 commit comments

Comments
 (0)