Browse Source

chore(pg-schema): Update docs links (#78578)

Updated links to lead to the correct section of the Sentry dev docs
page.

Signed-off-by: Vjeran Grozdanic <vjeran.grozdanic@sentry.io>
Vjeran Grozdanić 5 months ago
parent
commit
02e4ef6f13
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/sentry/db/postgres/schema.py

+ 2 - 2
src/sentry/db/postgres/schema.py

@@ -85,7 +85,7 @@ class SafePostgresDatabaseSchemaEditor(DatabaseSchemaEditorMixin, PostgresDataba
         """
         raise UnsafeOperationException(
             f"Deleting the {model.__name__} model is unsafe.\n"
-            "More info here: https://develop.sentry.dev/database-migrations/#tables"
+            "More info here: https://develop.sentry.dev/database-migrations/#deleting-tables"
         )
 
     def remove_field(self, model, field):
@@ -94,7 +94,7 @@ class SafePostgresDatabaseSchemaEditor(DatabaseSchemaEditorMixin, PostgresDataba
         """
         raise UnsafeOperationException(
             f"Removing the {model.__name__}.{field.name} field is unsafe.\n"
-            "More info here: https://develop.sentry.dev/database-migrations/#columns"
+            "More info here: https://develop.sentry.dev/database-migrations/#deleting-columns"
         )