feat(oracle): support oracle in ChartDB (#709)

* feat(import-oracle): support oracle in ChartDB

* fix build

---------

Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com>
This commit is contained in:
Jonathan Fishner
2025-05-21 12:12:48 +03:00
committed by GitHub
parent 86840a8822
commit 765a1c4354
21 changed files with 255 additions and 3 deletions

View File

@@ -522,6 +522,7 @@ const generateSQLPrompt = (databaseType: DatabaseType, sqlScript: string) => {
- **Serial and Identity Columns**: For auto-increment columns, use \`SERIAL\` or \`GENERATED BY DEFAULT AS IDENTITY\`.
- **Conditional Statements**: Utilize PostgreSQL's support for \`IF NOT EXISTS\` in relevant \`CREATE\` statements.
`,
oracle: '',
};
const dialectInstruction = dialectInstructionMap[databaseType] ?? '';