DEV Community

Discussion on: One-To-Many Database Relationships Complete How To

Collapse
 
brandonwallace profile image
brandon_wallace • Edited

You can add the customer_email when you add the customer to the database.

brandon = Customer(customer_name='Brandon', customer_email='brandon@example.com')
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ekck profile image
Emmanuel Kiprono

Thank you Brandon, it worked out