feat: add QuestDB support
Thanks @ptma!
This commit is contained in:
1 parent
0ae720d950
commit
1afc271c18
51 files changed
+633
-46
No files matched your search
@@ -244,6 +244,27 @@ const manticoreSearchCapabilities = capabilities({
|
||||
dropColumn: true,
|
||||
});
|
||||
|
||||
const questdbCapabilities = capabilities({
|
||||
dialect: "postgres",
|
||||
createTable: true,
|
||||
addColumn: true,
|
||||
dropColumn: true,
|
||||
renameColumn: true,
|
||||
alterExistingColumn: true,
|
||||
alterType: true,
|
||||
alterNullability: false,
|
||||
alterDefault: false,
|
||||
comment: false,
|
||||
createIndex: false,
|
||||
dropIndex: false,
|
||||
rebuildIndex: false,
|
||||
indexType: false,
|
||||
indexInclude: false,
|
||||
indexFilter: false,
|
||||
indexComment: false,
|
||||
alterPrimaryKey: false,
|
||||
});
|
||||
|
||||
const capabilityByType: Partial<Record<DatabaseType, TableStructureCapabilities>> = {
|
||||
mysql: mysqlCapabilities,
|
||||
doris: mysqlCapabilities,
|
||||
@@ -256,6 +277,7 @@ const capabilityByType: Partial<Record<DatabaseType, TableStructureCapabilities>
|
||||
gaussdb: postgresCapabilities,
|
||||
kwdb: postgresCapabilities,
|
||||
opengauss: postgresCapabilities,
|
||||
questdb: questdbCapabilities,
|
||||
redshift: redshiftCapabilities,
|
||||
vertica: redshiftCapabilities,
|
||||
highgo: postgresCapabilities,
|
||||
|
||||
Reference in new issue
Block a user