Skip to content

Commit

Permalink
Issue #660 - Replace DEFINE DATABASE with DEFINE TOKEN under Requirem…
Browse files Browse the repository at this point in the history
…ents (#686)
  • Loading branch information
sleto-it authored Jul 21, 2024
1 parent 3ba6645 commit 61fa274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ To avoid performing requests to the remote URL for each token that is verified,
- To `DEFINE TOKEN ... ON NAMESPACE ...` you must have root or namespace level access.
- To `DEFINE TOKEN ... ON DATABASE ...` you must have root, namespace, or database level access.
- To `DEFINE TOKEN ... ON SCOPE ...` you must have root, namespace, or database level access.
- [You must select your namespace and/or database](/docs/surrealdb/surrealql/statements/use) before you can use the `DEFINE DATABASE` statement for database or namespace tokens.
- [You must select your namespace and/or database](/docs/surrealdb/surrealql/statements/use) before you can use the `DEFINE TOKEN` statement for database or namespace tokens.

## Using `IF NOT EXISTS` clause <l className='purple'>Since 1.3.0</l>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ To avoid performing requests to the remote URL for each token that is verified,
- To `DEFINE TOKEN ... ON NAMESPACE ...` you must have root or namespace level access.
- To `DEFINE TOKEN ... ON DATABASE ...` you must have root, namespace, or database level access.
- To `DEFINE TOKEN ... ON SCOPE ...` you must have root, namespace, or database level access.
- [You must select your namespace and/or database](/docs/surrealdb/2.x/surrealql/statements/use) before you can use the `DEFINE DATABASE` statement for database or namespace tokens.
- [You must select your namespace and/or database](/docs/surrealdb/2.x/surrealql/statements/use) before you can use the `DEFINE TOKEN` statement for database or namespace tokens.

## Using `IF NOT EXISTS` clause <l className='purple'>Since 1.3.0</l>

Expand Down

0 comments on commit 61fa274

Please sign in to comment.