Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix #30: skip internal databases from cloud service providers (#33)
p0ny33257a6e10f5
diff --git a/plugin/db/pg/pg.go b/plugin/db/pg/pg.goindex 43b14938f6..09e1e1adfd 100644--- a/plugin/db/pg/pg.go+++ b/plugin/db/pg/pg.go@@ -327,6 +327,12 @@ func (driver *Driver) SyncSchema(ctx context.Context) ([]*db.DBUser, []*db.DBSchexcludedDatabaseList := map[string]bool{// Skip our internal "bytebase" database"bytebase": true,+ // Skip internal databases from cloud service providers+ // see https://github.com/bytebase/bytebase/issues/30+ // aws+ "rdsadmin": true,+ // gcp+ "cloudsql": true,}// Skip all system databasesfor k := range systemDatabases {