pub fn create_requirement(requirement_cmd: CreateRequirement)
Expand description

takes in the command, targets the table you want to add to it, establishes a connection to the database, makes a object with the create struct, and injects the object into the database