mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
implement alter index tool
This commit is contained in:
parent
44e2836de4
commit
36972cab19
2 changed files with 108 additions and 2 deletions
11
README.md
11
README.md
|
|
@ -67,6 +67,17 @@ php src/cli/index/init.php [reset]
|
|||
```
|
||||
* `reset` - optional, reset existing index
|
||||
|
||||
##### Alter
|
||||
|
||||
Change existing index
|
||||
|
||||
```
|
||||
php src/cli/index/alter.php {operation} {column} {type}
|
||||
```
|
||||
* `operation` - operation name, supported values: `add`|`drop`
|
||||
* `column` - target column name
|
||||
* `type` - target column type, supported values: `text`|`integer`
|
||||
|
||||
#### Document
|
||||
|
||||
##### Add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue