mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 22:36:01 +00:00
Added binary data types for engines
This commit is contained in:
@@ -44,6 +44,7 @@ const mysqlEngine = {
|
|||||||
supportRenameSqlObject: false,
|
supportRenameSqlObject: false,
|
||||||
dbSnapshotBySeconds: true,
|
dbSnapshotBySeconds: true,
|
||||||
dumpFile: 'data/chinook-mysql.sql',
|
dumpFile: 'data/chinook-mysql.sql',
|
||||||
|
binaryDataType: 'blob',
|
||||||
dumpChecks: [
|
dumpChecks: [
|
||||||
{
|
{
|
||||||
sql: 'select count(*) as res from genre',
|
sql: 'select count(*) as res from genre',
|
||||||
@@ -447,6 +448,7 @@ const sqlServerEngine = {
|
|||||||
supportTableComments: true,
|
supportTableComments: true,
|
||||||
supportColumnComments: true,
|
supportColumnComments: true,
|
||||||
// skipSeparateSchemas: true,
|
// skipSeparateSchemas: true,
|
||||||
|
binaryDataType: 'varbinary(100)',
|
||||||
triggers: [
|
triggers: [
|
||||||
{
|
{
|
||||||
testName: 'triggers before each row',
|
testName: 'triggers before each row',
|
||||||
@@ -507,6 +509,7 @@ const sqliteEngine = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
binaryDataType: 'blob',
|
||||||
};
|
};
|
||||||
|
|
||||||
const libsqlFileEngine = {
|
const libsqlFileEngine = {
|
||||||
@@ -620,6 +623,7 @@ const oracleEngine = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
binaryDataType: 'blob',
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @type {import('dbgate-types').TestEngineInfo} */
|
/** @type {import('dbgate-types').TestEngineInfo} */
|
||||||
@@ -753,18 +757,18 @@ const enginesOnCi = [
|
|||||||
const enginesOnLocal = [
|
const enginesOnLocal = [
|
||||||
// all engines, which would be run on local test
|
// all engines, which would be run on local test
|
||||||
// cassandraEngine,
|
// cassandraEngine,
|
||||||
// mysqlEngine,
|
//mysqlEngine,
|
||||||
// mariaDbEngine,
|
// mariaDbEngine,
|
||||||
// postgreSqlEngine,
|
//postgreSqlEngine,
|
||||||
// sqlServerEngine,
|
//sqlServerEngine,
|
||||||
// sqliteEngine,
|
sqliteEngine,
|
||||||
// cockroachDbEngine,
|
// cockroachDbEngine,
|
||||||
// clickhouseEngine,
|
// clickhouseEngine,
|
||||||
// libsqlFileEngine,
|
// libsqlFileEngine,
|
||||||
// libsqlWsEngine,
|
// libsqlWsEngine,
|
||||||
// oracleEngine,
|
//oracleEngine,
|
||||||
// duckdbEngine,
|
// duckdbEngine,
|
||||||
firebirdEngine,
|
//firebirdEngine,
|
||||||
];
|
];
|
||||||
|
|
||||||
/** @type {import('dbgate-types').TestEngineInfo[] & Record<string, import('dbgate-types').TestEngineInfo>} */
|
/** @type {import('dbgate-types').TestEngineInfo[] & Record<string, import('dbgate-types').TestEngineInfo>} */
|
||||||
|
|||||||
Reference in New Issue
Block a user