mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 05:03:57 +00:00
default schema refactor
This commit is contained in:
@@ -32,6 +32,7 @@ describe('Schema tests', () => {
|
||||
const schemas2 = await driver.listSchemas(conn);
|
||||
expect(schemas2.find(x => x.schemaName == 'myschema')).toBeTruthy();
|
||||
expect(schemas2.length).toEqual(count + 1);
|
||||
expect(schemas2.find(x => x.isDefault).schemaName).toEqual(engine.defaultSchemaName);
|
||||
expect(structure2).toBeNull();
|
||||
})
|
||||
);
|
||||
|
||||
@@ -82,6 +82,7 @@ const engines = [
|
||||
},
|
||||
],
|
||||
supportSchemas: true,
|
||||
defaultSchemaName: 'public',
|
||||
},
|
||||
{
|
||||
label: 'SQL Server',
|
||||
@@ -107,6 +108,7 @@ const engines = [
|
||||
},
|
||||
],
|
||||
supportSchemas: true,
|
||||
defaultSchemaName: 'dbo',
|
||||
},
|
||||
{
|
||||
label: 'SQLite',
|
||||
|
||||
Reference in New Issue
Block a user