[bot] sync troubleshooting guides to db (#36202)

* ci(docs): fix sync process

GraphQL codegen needs to be run before sync because otherwise the types
are missing. Missed this in local testing because codegen had already
been run for other reasons.

* fix(troubleshooting sync): unresolved import

* ci(docs lint): fix commenting workflow

* [bot] sync troubleshooting guides to db

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
This commit is contained in:
github-actions[bot]
2025-06-05 17:31:59 +00:00
committed by GitHub
parent 4b9662b21e
commit 388de330f4
2 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,8 @@
---
title = "Database API 42501 errors"
topics = [
"database"
]
topics = [ "database" ]
github_url = "https://github.com/orgs/supabase/discussions/31293"
database_id = "49b51a3a-9753-4747-a24e-8afcb075792b"
[[errors]]
http_status_code = 401

View File

@@ -1,8 +1,9 @@
---
title = "Implementing soft deletes with supabase-js"
topics = []
keywords = ["supabase-js", "sdk", "javascript"]
github_url="https://github.com/orgs/supabase/discussions/32523"
keywords = [ "supabase-js", "sdk", "javascript" ]
github_url = "https://github.com/orgs/supabase/discussions/32523"
database_id = "c1ca57fb-91ab-4526-987b-65106dc63a2f"
---
When building modern applications, soft deletes are a common feature that lets you "delete" data while retaining it for potential recovery or historical tracking. This is especially useful in audit trails or when accidental deletions need undoing. Supabase makes this process seamless with Postgres views and the supabase-js library.