mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 12:35:59 +00:00
postgre incremental analysis, fixed mysql incremental analysis
This commit is contained in:
8
packages/engines/postgres/sql/viewModifications.js
Normal file
8
packages/engines/postgres/sql/viewModifications.js
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = `
|
||||
select
|
||||
table_name as "pureName",
|
||||
table_schema as "schemaName",
|
||||
md5(view_definition) as "hashCode"
|
||||
from
|
||||
information_schema.views where table_schema != 'information_schema' and table_schema != 'pg_catalog'
|
||||
`;
|
||||
Reference in New Issue
Block a user