mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
import-export - work with schema (mssql)
This commit is contained in:
1
packages/engines/mssql/sql/getSchemas.js
Normal file
1
packages/engines/mssql/sql/getSchemas.js
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = `select schema_id as objectId, name as schemaName from sys.schemas`;
|
||||
@@ -7,6 +7,7 @@ const loadSqlCode = require('./loadSqlCode');
|
||||
const views = require('./views');
|
||||
const programmables = require('./programmables');
|
||||
const viewColumns = require('./viewColumns');
|
||||
const getSchemas = require('./getSchemas');
|
||||
|
||||
module.exports = {
|
||||
columns,
|
||||
@@ -18,4 +19,5 @@ module.exports = {
|
||||
views,
|
||||
programmables,
|
||||
viewColumns,
|
||||
getSchemas,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user