Because there is an employees field with type List<Employee> in the company definition, running serverpod generateserverpod generate fails with The field has an invalid datatype "Employee". error.
Later in the docs in the Object database mapping section, there is no employees field, so I'm guessing it's okay to remove it.
Because there is an
employees
field with typeList<Employee>
in the company definition, runningserverpod generate
serverpod generate fails withThe field has an invalid datatype "Employee".
error.Later in the docs in the Object database mapping section, there is no employees field, so I'm guessing it's okay to remove it.