зеркало из https://github.com/github/vitess-gh.git
Clean up vschema generation for external db
Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
This commit is contained in:
Родитель
26de57be1b
Коммит
aa64538754
|
@ -116,7 +116,6 @@ func main() {
|
|||
//This is no longer necessary, but we'll keep it for reference
|
||||
//https://github.com/vitessio/vitess/pull/4868, https://github.com/vitessio/vitess/pull/5010
|
||||
//vSchemaFile = applyJsonInMemoryPatch(vSchemaFile,`[{"op": "add","path": "/tables/*", "value": {}}]`)
|
||||
vSchemaFile = applyJsonInMemoryPatch(vSchemaFile,`[{"op": "replace","path": "/sharded", "value": false}]`)
|
||||
} else {
|
||||
var primaryTableColumns map[string]string
|
||||
vSchemaFile, primaryTableColumns = addTablesVschemaPatch(vSchemaFile, keyspaceData.schemaFileNames)
|
||||
|
|
Загрузка…
Ссылка в новой задаче