MCPcopy Create free account
hub / github.com/cloudwan/gohan / selectModifiedSchemas

Function selectModifiedSchemas

cli/migrate.go:95–100  ·  view source on GitHub ↗
(forcedSchemas string)

Source from the content-addressed store, hash-verified

93}
94
95func selectModifiedSchemas(forcedSchemas string) []string {
96 if len(forcedSchemas) > 0 {
97 return strings.Split(forcedSchemas, ",")
98 }
99 return migration.GetModifiedSchemas()
100}
101
102func emitPostMigrateEvent(forcedSchemas string, syncETCDEvent bool, postMigrationEventTimeout time.Duration) {
103 config := util.GetConfig()

Callers 1

emitPostMigrateEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected