vitess.io/vitess@v0.16.2/go/test/endtoend/vtgate/transaction/vschema.json (about)

     1  {
     2    "sharded":true,
     3    "vindexes": {
     4      "hash_index": {
     5        "type": "hash"
     6      },
     7      "twopc_lookup_vdx": {
     8        "type": "lookup_hash_unique",
     9        "params": {
    10          "table": "twopc_lookup",
    11          "from": "name",
    12          "to": "id",
    13          "autocommit": "true"
    14        },
    15        "owner": "twopc_user"
    16      }
    17    },
    18    "tables": {
    19      "twopc_user":{
    20        "column_vindexes": [
    21          {
    22            "column": "user_id",
    23            "name": "hash_index"
    24          },
    25          {
    26            "column": "name",
    27            "name": "twopc_lookup_vdx"
    28          }
    29        ]
    30      },
    31      "twopc_lookup": {
    32        "column_vindexes": [
    33          {
    34            "column": "id",
    35            "name": "hash_index"
    36          }
    37        ]
    38      },
    39      "test": {
    40        "column_vindexes": [
    41          {
    42            "column": "id",
    43            "name": "hash_index"
    44          }
    45        ]
    46      }
    47    }
    48  }