Skip to content

Commit

Permalink
Merge pull request #165 from zilliztech/fix-auto-id
Browse files Browse the repository at this point in the history
fix auto id
  • Loading branch information
shanghaikid authored Feb 14, 2023
2 parents 6319e46 + f87fed6 commit b218c29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/src/pages/collections/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export interface Field {
};
createType?: CreateFieldType;
max_length?: string | null;
autoID?: boolean;
}

export type CreateFieldType =
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/dialogs/CreateCollectionDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const CreateCollectionDialog: FC<CollectionCreateProps> = ({ onCreate }) => {
max_length: v.max_length,
};

v.is_primary_key && (data.autoID = form.autoID);
v.is_primary_key && (v.autoID = form.autoID);

return vectorType.includes(v.data_type)
? {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "attu",
"version": "2.2.2",
"version": "2.2.3",
"license": "MIT",
"author": {
"name": "zilliz",
Expand Down

0 comments on commit b218c29

Please sign in to comment.