Types should be able to be renamed. For example to rename the vertex type "Chat" into "Case": - [x] `rename()` in `ComponentFile` class - [x] rename the underlying file prefix, leaving untouched after that `Chat_0.14.65536.v0.bucket` -> `Case_0.14.65536.v0.bucket` - [x] update the entries in `LocalSchema` class (`bucketMap`) - [x] update the entries in `FileManager` class (`fileNameMap`) - [x] at the end, save the schema Also: - [x] support multiple aliases can be used to lookup for the type. This helps with refactoring, so the old queries still work. - [ ] support new SQL syntax `alter type XX aliases YYY, ZZZ`
Types should be able to be renamed. For example to rename the vertex type "Chat" into "Case":
rename()inComponentFileclassChat_0.14.65536.v0.bucket->Case_0.14.65536.v0.bucketLocalSchemaclass (bucketMap)FileManagerclass (fileNameMap)Also:
alter type XX aliases YYY, ZZZ