65
}
66
if len(config.SchemaFilePath) > 0 && len(config.SchemaName) > 0 {
67
>
return NewConfigError("either" + flag(CLIOptSchemaFile) + " or " +
handler.go
68
>
flag(CLIOptSchemaName) + " must be specified")
69
>
}
70
if len(config.SchemaName) > 0 {
71
>
if !slices.Contains(dbschemas.PathsByDB(db.Type()), config.SchemaName) {
handler.go
72
>
return NewConfigError(fmt.Sprintf("%s must be one of: %v",
73
>
flag(CLIOptSchemaName), dbschemas.PathsByDB(db.Type())))
74
>
}
75
}
76
if !config.DisableVersioning {