shubh28 / safeslot

2 stars 2 forks source link

Token DataBase Setup #94

Closed aknakshay closed 4 years ago

aknakshay commented 4 years ago

Create two collections/tables:

  1. tokens table
  2. tokens_booking table

Schemas:

Token table:

  1. _id
  2. StoreId
  3. Date
  4. Current token number
  5. Last token assigned.

token_booking:

  1. _id
  2. mobileNumber
  3. tokenNumber
  4. StoreId