Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (18 loc) · 855 Bytes

TODO.md

File metadata and controls

30 lines (18 loc) · 855 Bytes

user-machines branch

The purpose of this branch is to reconfigure back-end relationships so that machine instances are more easily transferred between ppl and locations.

Renaming models

  • Machines should be renamed to "MachineType" to convey that they are archetypical done

  • LocationMachine should be renamed to "Machine" to convey that is in an instance of a machine type

    • Attributes: id, machine_type_id, user_id, location_id done
  • Rename machine_issues column to be machine_id done

  • Associate users with machines

  • done in schema at least

User stories

As a user I can buy a machine and have it appear when i query user.machines

As a user I can sell a machine to another user and it then becomes theirs

as a user i can query a particular machine's array of issues

I can query all the issues for my machines