ordering working and all fields of the right type

had to update requirements to support jsonfields as text on the
database, and the last migration repeats an old one to add
groups/permissions