-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove submission_email
column from teams
table
#3640
Conversation
🤖 Hasura Change Summary compared a subset of table metadata including permissions: Updated Tables (1)
|
Removed vultr server and associated DNS entries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small comments!
...x.uk/migrations/1725873202035_alter_table_public_teams_drop_column_submission_email/down.sql
Outdated
Show resolved
Hide resolved
...x.uk/migrations/1725873202035_alter_table_public_teams_drop_column_submission_email/down.sql
Outdated
Show resolved
Hide resolved
...anx.uk/migrations/1725873202035_alter_table_public_teams_drop_column_submission_email/up.sql
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect - thanks for making these changes!
What does this PR do?
To finish the work on https://trello.com/c/dVsTQpZZ/2984-allow-editors-to-see-update-their-teams-submission-email-in-team-settings-form
I have dropped the redundant column and adjusted the scripts which create the local DBs.
In order to keep the
team_summary
table, I had to adjust the sql code which creates it. From here I also repointed thehomepage
column of this table fromteams
table toteam_settings
table.Up
script running order:team_summary
view usingteam_settings.submission_email
columnteams.submission_email
columnDown
script:teams.submission_email
columnteam_summary
view using new columnRegression tests passing