From 61fa2746cbefd270f49e36690172a21d5a1f5de6 Mon Sep 17 00:00:00 2001
From: Santo <31849787+sleto-it@users.noreply.github.com>
Date: Sun, 21 Jul 2024 18:12:54 +0000
Subject: [PATCH] Issue #660 - Replace DEFINE DATABASE with DEFINE TOKEN under
Requirements (#686)
---
.../version-1.x/surrealql/statements/define/token.mdx | 2 +-
.../version-2.x/surrealql/statements/define/token.mdx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc-surrealdb_versioned_docs/version-1.x/surrealql/statements/define/token.mdx b/doc-surrealdb_versioned_docs/version-1.x/surrealql/statements/define/token.mdx
index a05e3af0d..8b1aea180 100644
--- a/doc-surrealdb_versioned_docs/version-1.x/surrealql/statements/define/token.mdx
+++ b/doc-surrealdb_versioned_docs/version-1.x/surrealql/statements/define/token.mdx
@@ -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 Since 1.3.0
diff --git a/doc-surrealdb_versioned_docs/version-2.x/surrealql/statements/define/token.mdx b/doc-surrealdb_versioned_docs/version-2.x/surrealql/statements/define/token.mdx
index 6b4b6b2a5..2997a2dac 100644
--- a/doc-surrealdb_versioned_docs/version-2.x/surrealql/statements/define/token.mdx
+++ b/doc-surrealdb_versioned_docs/version-2.x/surrealql/statements/define/token.mdx
@@ -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 Since 1.3.0