Skip to content
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

Change Migrations #12

Merged
merged 4 commits into from
Mar 19, 2021
Merged

Change Migrations #12

merged 4 commits into from
Mar 19, 2021

Conversation

drewroberts
Copy link
Member

No description provided.

@drewroberts drewroberts requested a review from gurgentil March 19, 2021 00:09
@@ -13,16 +13,16 @@ public function up()
$table->id();
$table->string('lead_number')->index()->unique(); // Generated by system. This is identifier used to communicate about the quote request & for additional form pages.
$table->string('email');
$table->foreignIdFor(LeadBusiness::class);
$table->foreignIdFor(LeadBusiness::class); // moving to other table to reverse the relationship
Copy link
Member Author

Choose a reason for hiding this comment

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

Per our discussion, this also needs to move so Lead Business (#6) is not required for every Lead (#5) and it will allow us to have many Businesses for one Lead in the future if we want.

Copy link
Contributor

@gurgentil gurgentil left a comment

Choose a reason for hiding this comment

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

Thank you!

@drewroberts drewroberts merged commit 956cb76 into main Mar 19, 2021
@drewroberts drewroberts deleted the drewroberts/feature/migrations branch March 19, 2021 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants