Shuffling lines of code around (primary key the first field defined in a model)
typo refactored