The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Clean up Dashboard steps
dannyknge4613508abc0
diff --git a/web/docs/guides/api.mdx b/web/docs/guides/api.mdxindex d55c24dbae8..a4dd3d249cc 100644--- a/web/docs/guides/api.mdx+++ b/web/docs/guides/api.mdx@@ -83,12 +83,10 @@ This creates a corresponding route `todos` which can accept `GET`, `POST`, `PATC<TabItem value="dashboard">1. Go to the [Table editor](https://app.supabase.com/project/_/editor) page in the Dashboard.-2. Click **New Table**.-3. Enter "todos" for the Name.-4. Click **Save**.-5. Click **New Column**.-6. Enter "task" for the Name and "text" as the Type.-7. Click **Save**.+1. Click **New Table** and create a table with the name `todos`.+1. Click **Save**.+1. Click **New Column** and create a column with the name `task` and type `text`.+1. Click **Save**.<video width="99%" muted playsInline controls="true"><source src="/docs/videos/api/api-create-table-sm.mp4" type="video/mp4" muted playsInline />diff --git a/web/docs/guides/database/arrays.mdx b/web/docs/guides/database/arrays.mdxindex 4cb957aedbf..63c5a12716d 100644--- a/web/docs/guides/database/arrays.mdx+++ b/web/docs/guides/database/arrays.mdx@@ -23,14 +23,11 @@ Create a test table with a text array (an array of strings):<TabItem value="dashboard">-1. Go to the Table Editor-2. Create a New Table-3. Create a new table named `arraytest` and save the table- - New Column- - Name the new column `textarray`- - Make it type `text`- - Check the box labelled `Define as array`- - Save the new column+1. Go to the [Table editor](https://app.supabase.com/project/_/editor) page in the Dashboard.+1. Click **New Table** and create a table with the name `arraytest`.+1. Click **Save**.+1. Click **New Column** and create a column with the name `textarray`, type `text`, and select **Define as array**.+1. Click **Save**.</TabItem>@@ -56,12 +53,10 @@ CREATE TABLE arraytest (id integer NOT NULL, textarray text ARRAY);<TabItem value="dashboard">-- Table Editor-- Select `arraytest`-- Insert Row- - In the `textarray` field input, paste:- - `["Harry", "Larry", "Moe"]`- - Save the new row+1. Go to the [Table editor](https://app.supabase.com/project/_/editor) page in the Dashboard.+1. Select the `arraytest` table.+1. Click **Insert row** and add `["Harry", "Larry", "Moe"]`.+1. Click **Save.**</TabItem>@@ -98,10 +93,10 @@ const { data, error } = await supabase<TabItem value="dashboard">-- Table Editor-- Select `arraytest`+1. Go to the [Table editor](https://app.supabase.com/project/_/editor) page in the Dashboard.+1. Select the `arraytest` table.-Your first array data!+You should see:| id | textarray || --- | ----------------------- |@@ -114,7 +109,7 @@ Your first array data!SELECT * FROM arraytest;```-Your first array data!+You should see:| id | textarray || --- | ----------------------- |@@ -125,7 +120,7 @@ Your first array data!## Query array data-To query an array, PostgreSQL uses 1-based arrays, so be careful, since you're probably used to 0-based arrays in JavaScript.+PostgreSQL uses 1-based indexing (e.g., `textarray[1]` is the first item in the array).<TabsgroupId="dashboard-or-sql"diff --git a/web/docs/guides/database/json.mdx b/web/docs/guides/database/json.mdxindex dd6bbaaa4bb..0af74c68906 100644--- a/web/docs/guides/database/json.mdx+++ b/web/docs/guides/database/json.mdx@@ -74,7 +74,7 @@ create table books (1. Go to the [Table Editor](https://app.supabase.com/project/_/editor) page in the Dashboard.2. Select the `books` table in the sidebar.-3. Click **+ Insert Row** and add 5 rows with the following properties:+3. Click **+ Insert row** and add 5 rows with the following properties:| id | title | author | metadata || --- | ----------------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------- |