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

Function writeDropSchema

backend/plugin/schema/oracle/generate_migration.go:1020–1025  ·  view source on GitHub ↗
(out *strings.Builder, schema string)

Source from the content-addressed store, hash-verified

1018}
1019
1020func writeDropSchema(out *strings.Builder, schema string) {
1021 _, _ = out.WriteString(`DROP USER "`)
1022 _, _ = out.WriteString(schema)
1023 _, _ = out.WriteString(`" CASCADE;`)
1024 _, _ = out.WriteString("\n")
1025}
1026
1027func writeCreateSchema(out *strings.Builder, schema string) {
1028 _, _ = out.WriteString(`CREATE USER "`)

Callers 1

dropObjectsInOrderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected