chore: rename index to order of storage

This commit is contained in:
Noah Hsu
2022-09-07 15:55:15 +08:00
parent 53fc2f32d8
commit 71d30b6819
6 changed files with 15 additions and 14 deletions

View File

@ -60,15 +60,12 @@ func getMainItems(config driver.Config) []driver.Item {
Required: true,
Help: "",
}, {
Name: "index",
Name: "order",
Type: conf.TypeNumber,
Help: "use to sort",
}, {
Name: "remark",
Type: conf.TypeText,
}, {
Name: "down_proxy_url",
Type: conf.TypeText,
}}
if !config.NoCache {
items = append(items, driver.Item{
@ -100,6 +97,10 @@ func getMainItems(config driver.Config) []driver.Item {
Required: true,
})
}
items = append(items, driver.Item{
Name: "down_proxy_url",
Type: conf.TypeText,
})
if config.LocalSort {
items = append(items, []driver.Item{{
Name: "order_by",