<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_last(self):
 """ Get the last migration batch. :rtype: list """

        query = self.table().where('batch', self.get_last_batch_number())

        return query.order_by('migration', 'desc').get()