Browse Source

chore(migrations): Remove duplicate key Unsafe.ADD_COLUMN_DEFAULT (#35247)

Alberto Leal 2 years ago
parent
commit
8a637fdf62
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/sentry/db/postgres/schema.py

+ 0 - 4
src/sentry/db/postgres/schema.py

@@ -18,10 +18,6 @@ unsafe_mapping = {
         "Adding {}.{} as a not null column is unsafe.\n"
         "More info: https://develop.sentry.dev/database-migrations/#adding-not-null-to-columns"
     ),
-    Unsafe.ADD_COLUMN_DEFAULT: (
-        "Adding {}.{} as column with a default is unsafe.\n"
-        "More info: https://develop.sentry.dev/database-migrations/#adding-columns-with-a-default"
-    ),
     Unsafe.ALTER_COLUMN_TYPE: (
         "Altering the type of column {}.{} in this way is unsafe\n"
         "More info here: https://develop.sentry.dev/database-migrations/#altering-column-types"