Repository navigation
fix(appconnect): Add app_id_str column to appconnectbuild - #40261
Conversation
|
This PR has a migration; here is the generated SQL for |
18e263c to
28c75fa
Compare
There was a problem hiding this comment.
This pr should include the change that adds the field to the model.
I noticed in #40264 that you are setting a default of "0". Since we're on pg14 you can actually create the column with a default if you like. https://develop.sentry.dev/database-migrations/#adding-columns-with-a-default. This also allows you to make the column not null, if that's helpful
|
Thank you for the feedback. I've now consolidated the two PRs and adjusted the migration to hopefully make it default-safe. |
7f3ed1f to
5187bc3
Compare
|
This PR has a migration; here is the generated SQL for |
|
This PR has a migration; here is the generated SQL for |
This is step 1 in the effort to change the type of
AppConnectBuild.app_idfrom an integer to a string.It adds a new column
app_id_strof typeCharFieldto theappconnectbuildmodel and a corresponding field toAppConnectBuild.