-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
References #835 |
Aha! Missed that. Fixing. |
771a328
to
7210b23
Compare
7210b23
to
6b349ca
Compare
Ok fixed. So now do I submit the next migration in a separate file in this pr itself or later in a separate pr with the rest of the changes? |
Hmm, might be cleaner to have that as a part of this PR itself. The migration script should just be a few more lines in |
In reference to #3864 (comment) -
We'd complete steps 1, 2 and 3 with this PR. When deploying, we should ensure that the migration is done before code is deployed |
Oh actually no... We need step 2 before step 3 - so makes sense to deploy this as is. |
Yeah but I don't think we want to be copying values before deploying 6b349ca, isn't it? I'll be anyway submitting a separate pr when we decide to complete switch over to |
Yes, true. Realized that in #3893 (comment) |
OK so this needs 2 more prs I guess. One for 3 and 4 and another then for 5. |
I think that 3 and 4 can be clubbed together in a single PR (We'll just deploy them separately) |
Deployed, and verified by adding an email address using my account. |
Yeah that's what I meant. One pr for 3,4 and another for 5. |
Yay! 💃 |
I love seeing this progress! 💃 |
Oops, misread your comment :) |
This pr only introduces a new column in
emails
table which referencesparticipants.id
and modifies email writes to includeemail.participant_id
as well. Ideally we would want this to be deployed before we start copying old values fromparticipant.id
toemail.participant_id
. So that would come in a separate migration.