aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/schema.proto
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-04-27 23:30:06 -0700
committerchrislu <chris.lu@gmail.com>2024-04-27 23:30:06 -0700
commit111a4e112623ba2e67df54ceaa9fab7a74fbd1d4 (patch)
tree483f08984e60aeadbec31212ec2cd816dc120f57 /weed/pb/schema.proto
parent72b50980f487f8ee3163f1fa4cd72fab0d8f484d (diff)
downloadseaweedfs-111a4e112623ba2e67df54ceaa9fab7a74fbd1d4.tar.xz
seaweedfs-111a4e112623ba2e67df54ceaa9fab7a74fbd1d4.zip
add field index
Diffstat (limited to 'weed/pb/schema.proto')
-rw-r--r--weed/pb/schema.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/pb/schema.proto b/weed/pb/schema.proto
index 02781d532..2f8dc41d8 100644
--- a/weed/pb/schema.proto
+++ b/weed/pb/schema.proto
@@ -14,8 +14,8 @@ message RecordType {
message Field {
string name = 1;
- Type type = 2;
- int32 index = 3;
+ int32 field_index = 2;
+ Type type = 3;
bool is_repeated = 4;
bool is_required = 5;
}