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

Relational Database Design #6

Open
shortland opened this issue Feb 17, 2020 · 0 comments
Open

Relational Database Design #6

shortland opened this issue Feb 17, 2020 · 0 comments
Assignees
Labels

Comments

@shortland
Copy link
Member

shortland commented Feb 17, 2020

Device -> Account link & login (SofteServe Login)

Tables:

  • Users: [Primary Unique Key, Auto Increment] User IDN | Device UUID | Email | Password | Hash | Verified | Account Level | Exp | Cash | Gold

  • Towers: [Primary Unique Key, Auto Increment] Tower IDN | [Foreign Key] User IDN | Tower Name | Background URL (diff locations)

  • Floors: [Primary Unique Key, Auto Increment] Floor IDN | [FireDB Foreign Key *] Floor Type IDN | [Foreign Key] Tower IDN | Floor Upgraded Level | Floor Height Level | Current Employee Count

* Floor Type IDN is a Foreign Key reference to a Floor Type ID in the Firebase Database table. Floor Type information is stored there.

Floor Types: Floor Type IDN, Floor Name, (for each floor level): floor income, floor max employee, floor max customer, floor upgrade cost

@shortland shortland self-assigned this Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant