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

Nightlyfe 1.4 (Initialize Database) (13) #53

Open
tdrichmond opened this issue Feb 13, 2018 · 3 comments
Open

Nightlyfe 1.4 (Initialize Database) (13) #53

tdrichmond opened this issue Feb 13, 2018 · 3 comments

Comments

@tdrichmond
Copy link
Collaborator

tdrichmond commented Feb 13, 2018

As an admin I want a database to store all my user' and bar's information.

@tdrichmond tdrichmond changed the title Nightlyfe 1.3 Nightlyfe 1.4 Feb 13, 2018
@tdrichmond tdrichmond changed the title Nightlyfe 1.4 Nightlyfe 1.4 (13) Feb 13, 2018
@tdrichmond
Copy link
Collaborator Author

tdrichmond commented Feb 15, 2018

Tasks:
-Stores all information for users, admins, owners and restaurants

Definition of Done:
-Users and restaurants will be able to access all information that they have stored in the database.

@dannyfritz3 dannyfritz3 removed the story label Feb 20, 2018
@kjbecker kjbecker self-assigned this Feb 20, 2018
@kjbecker
Copy link
Collaborator

PROPOSED TABLES:

Users

  • username: varchar(20) PRIMARY KEY
  • password: varchar(20)
  • type: INT (1 for normal user, 2 for business owner, 3 for admin)

Business

  • name: VARCHAR(20) PRIMARY KEY
  • owner: VARCHAR(20) REFERNCES users.username
  • city: VARCHAR(20)

Reviews

  • Will revisit once we decide what review system we are using(we probably did this, just want clarification)

@kjbecker
Copy link
Collaborator

TEST ACCOUNTS

Admins

  • username: admin1 password: pass
  • username: admin2 password: pass

Business Owners

  • username: owner1 password: pass

users

  • username: user1 password: pass
  • username: user2 password: pass

@dannyfritz3 dannyfritz3 changed the title Nightlyfe 1.4 (13) Nightlyfe 1.4 (Initialize Database) (13) Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants