Skip to content

Commit e7862a8

Browse files
committed
More copy updates
1 parent 5e30af7 commit e7862a8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/examples/supabase-database-operations.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "Supabase database operations using Trigger.dev"
33
sidebarTitle: "Supabase database operations"
4-
description: "These examples demonstrate how to run basic CRUD operations on a Supabase database using Trigger.dev."
4+
description: "These examples demonstrate how to run basic CRUD operations on a table in a Supabase database using Trigger.dev."
55
---
66

7-
## Add a new user to a Supabase database
7+
## Add a new user to a table in a Supabase database
88

9-
This is a basic task which inserts a new row into a Supabase database from a Trigger.dev task.
9+
This is a basic task which inserts a new row into a table from a Trigger.dev task.
1010

1111
### Key features
1212

@@ -60,7 +60,7 @@ export const supabaseDatabaseInsert = task({
6060
This task uses your service role secret key to bypass Row Level Security. There are different ways
6161
of configuring your [RLS
6262
policies](https://supabase.com/docs/guides/database/postgres/row-level-security), so always make
63-
sure you have the correct permissions set up for your Supabase database.
63+
sure you have the correct permissions set up for your project.
6464
</Note>
6565

6666
### Testing your task
@@ -75,11 +75,11 @@ To test this task in the [Trigger.dev dashboard](https://cloud.trigger.dev), you
7575

7676
If the task completes successfully, you will see a new row in your `user_subscriptions` table with the `user_id` set to `user_12345`.
7777

78-
## Update a user's subscription in a Supabase database
78+
## Update a user's subscription on a table in a Supabase database
7979

80-
This task shows how to update a user's subscription. It checks if the user already has a subscription and either inserts a new row or updates an existing row with the new plan.
80+
This task shows how to update a user's subscription on a table. It checks if the user already has a subscription and either inserts a new row or updates an existing row with the new plan.
8181

82-
This type of task is useful for managing user subscriptions, updating user details, or performing other operations on a Supabase database.
82+
This type of task is useful for managing user subscriptions, updating user details, or performing other operations you might need to do on a database table.
8383

8484
### Key features
8585

@@ -171,7 +171,7 @@ export const supabaseUpdateUserSubscription = task({
171171
This task uses your service role secret key to bypass Row Level Security. There are different ways
172172
of configuring your [RLS
173173
policies](https://supabase.com/docs/guides/database/postgres/row-level-security), so always make
174-
sure you have the correct permissions set up for your Supabase database.
174+
sure you have the correct permissions set up for your project.
175175
</Note>
176176

177177
## Testing your task

0 commit comments

Comments
 (0)