Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Reduce verification code save to 2 SQL statements. #360

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

mikehelmick
Copy link
Contributor

Fixes #359

Proposed Changes

  • Change foreign key to be just the ID and not the relationship on verification codes, reduce SQL overhead when saving verification code records.

Release Note

Optimized SQL for issuing verification codes.

@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Aug 25, 2020
Copy link
Member

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikehelmick, sethvargo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mikehelmick,sethvargo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 276a7d3 into google:main Aug 25, 2020
@google google locked and limited conversation to collaborators Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VerifcationCode model is too chatty
3 participants