MCPcopy Create free account
hub / github.com/bytebase/bytebase / newMetadataObjectMaps

Function newMetadataObjectMaps

backend/plugin/schema/pg/metadata_migration.go:347–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345}
346
347func newMetadataObjectMaps() *metadataObjectMaps {
348 return &metadataObjectMaps{
349 tables: make(map[string]*schema.TableDiff),
350 views: make(map[string]*schema.ViewDiff),
351 materializedViews: make(map[string]*schema.MaterializedViewDiff),
352 functions: make(map[string]*schema.FunctionDiff),
353 procedures: make(map[string]*schema.ProcedureDiff),
354 }
355}
356
357func getMigrationObjectID(schemaName, objectName string) string {
358 return fmt.Sprintf("%s.%s", schemaName, objectName)

Callers 2

buildDropObjectMapsFunction · 0.85
buildCreateObjectMapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected