Git Product home page Git Product logo

fextool_backend_test's Introduction

Hi there ๐Ÿ‘‹

  • I'm currently looking for new work opportunities! Please feel free to drop me an email!
  • ๐Ÿ”ญ Iโ€™m currently working on ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
    • Anything to do with LLMs
  • ๐Ÿ“ซ How to reach me: [email protected]
  • ๐Ÿ˜„ Pronouns: He/Him

Sawyer's github stats

fextool_backend_test's People

Contributors

f-prime avatar samclane avatar

Watchers

 avatar  avatar

fextool_backend_test's Issues

We'd like to improve the system to allow us to store multiple phone numbers and email addresses. We want the ability to label the type of email or phone as "work", or "home", and we want the ability to store no more than one "primary" email and phone for each contact. How should we design the schema for this system?

Change column phonenumber to primary_phonenumber_id and email to primary_email_id, which are both Foreign Keys to 2 new tables, PhoneNumbers and EmailAddresses, with the following columns:

PhoneNumbers: [Number(int), Work(bool), Home(bool), Primary(bool)]

EmailAddresses: [Address(int), Work(bool), Home(bool), Primary(bool)]

Where the Primary field could be used for indexing/reverse-lookups.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.