Clean up vschema generation for external db

Signed-off-by: jawabuu <49921621+jawabuu@users.noreply.github.com>
This commit is contained in:
jawabuu 2019-10-19 12:54:57 +03:00
Родитель 26de57be1b
Коммит aa64538754
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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)