InternalError: (1054, u"Unknown column 'appointment' in 'field list'")