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

Define schema tables #11

Open
amusameh opened this issue Jul 24, 2018 · 0 comments
Open

Define schema tables #11

amusameh opened this issue Jul 24, 2018 · 0 comments
Assignees
Labels
task Requires farther splitting

Comments

@amusameh
Copy link
Collaborator

Our Db schema includes 3 tables:

  1. The Admin table which is a separate table used to manage the admin login.
  2. The Flights table which contains all the info related to the flights (airline, airport, flight_id, origin, destination, deparure_time, flight_time, gate, aircraft)
  3. The Customers table: first_name, last_name, email, phone, notify_me(boolean)
  4. define the relation between flights and customers tables using sequelize belongsTo method
@amusameh amusameh added the task Requires farther splitting label Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Requires farther splitting
Projects
None yet
Development

No branches or pull requests

1 participant