Skip to content

Roadmap

Rachel Fish edited this page Mar 20, 2020 · 3 revisions

Event Management Todo

Schema

Users

The users table stores all of the basic user account information required for logging in. This table does not include optional information like full names and phone numbers.

  • id (auto-incrementing, primary key)
  • email (unique)
  • password
  • created_at
  • updated_at
  • login_at
  • reset_time
  • reset_token

User Data

This table contains all of the user data that may optionally be associated with a user account. All of these fields are nullable except user_id.

  • user_id (foreign key, users table)
  • full_name
  • preferred_name
  • phone
  • created_at
  • updated_at

Roles

  • id
  • name
  • created_at
  • updated_at

User Roles

  • id
  • role_id
  • user_id
  • assigned_by
  • created_at
  • updated_at
  • deleted_at

Features

  • id
  • name
  • description
  • created_at
  • updated_at

Role Features

  • id
  • role_id
  • feature_id
  • created_at
  • updated_at

Departments

  • id
  • name
  • description
  • created_at
  • updated_at

DepartmentUsers

  • id
  • user_id
  • department_id
  • created_at
  • updated_at

Vendors

  • id
  • phone
  • department_id
  • service_type
  • contact_name
  • created_at
  • updated_at

Notes

  • id
  • notable_id
  • notable_type
  • content
  • created_at
  • updated_at

Notifications

  • id
  • name
  • template_location
  • created_at
  • updated_at

User Notifications

  • id
  • user_id
  • sent_by
  • notification_id
  • email
  • html_body
  • array of variables that were passed into the template??

Considerations

API

  • Create a swagger spec?

Clone this wiki locally