Skip to content

Commit

Permalink
minors (#66)
Browse files Browse the repository at this point in the history
* minors

* update

* update
  • Loading branch information
Amber1990Zhang committed Jul 28, 2020
1 parent c84154f commit c3b8dfa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/AliYun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
username: ${{ secrets.USER_NAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.port }}
source: nebula-docs.tar.gz
source: nebula-docs.tar.gz
target: /usr/web

- name: UnCompress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nebula> ALTER EDGE e1 ADD (prop1 int, prop2 string), /* 添加 prop1 */
CHANGE (prop3 string), /* 将 prop3 类型更改为字符 */
DROP (prop4, prop5); /* 删除 prop4 和 prop5 */
nebula> ALTER EDGE e1 TTL_DURATION = 2, TTL_COL = prop1;
nebula> ALTER EDGE e1 TTL_DURATION = 2, TTL_COL = "prop1";
```

注意 TTL_COL 仅支持 INT 和 TIMESTAMP 类型
**注意:** `TTL_COL` 仅支持 `INT``TIMESTAMP` 类型的属性
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ttl_definition::=
```ngql
nebula> CREATE TAG t1 (name string, age int);
nebula> ALTER TAG t1 ADD (id int, address string);
nebula> ALTER TAG t1 TTL_DURATION = 2, TTL_COL = age;
nebula> ALTER TAG t1 TTL_DURATION = 2, TTL_COL = "age";
```

注意 TTL_COL 仅支持 INT 和 TIMESTAMP 类型
**注意:** `TTL_COL` 仅支持 `INT``TIMESTAMP` 类型的属性
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ docker> cp etc/nebula-storaged.conf.default etc/nebula-storaged.conf

```bash
docker> ./scripts/nebula.service start all
docker> ./bin/nebula -u user -p password --port 3699 --addr="127.0.0.1"
docker> ./bin/nebula -u root -p nebula --port 3699 --addr="127.0.0.1"
nebula> SHOW HOSTS;
```
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ nebula> UPDATE CONFIGS graph:v=1;
属性名 | 默认值 | 说明
------------------------------- | ------------------------ | -----------
`enable_authorize` | false | 开启身份验证
`auth_type` | password | password: 帐密方式;ldap: LDAP 方式;cloud: 云端方式
`auth_type` | password | password帐密方式;ldapLDAP 方式;cloud云:端方式

开启身份验证,仅能使用 root 账号登陆,例如:

Expand Down

0 comments on commit c3b8dfa

Please sign in to comment.