You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task uses your service role secret key to bypass Row Level Security. There are different ways
61
61
of configuring your [RLS
62
62
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.
64
64
</Note>
65
65
66
66
### Testing your task
@@ -75,11 +75,11 @@ To test this task in the [Trigger.dev dashboard](https://cloud.trigger.dev), you
75
75
76
76
If the task completes successfully, you will see a new row in your `user_subscriptions` table with the `user_id` set to `user_12345`.
77
77
78
-
## Update a user's subscription in a Supabase database
78
+
## Update a user's subscription on a table in a Supabase database
79
79
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.
81
81
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.
0 commit comments