Fix for failing select on migrations table when a prefix exist on the database
Fix for failing select on migrations table when a prefix exist on the database

kikoseijo/ticketit,changefox/osticketit,cassianogf/ticket-system,panichelpdesk/panichd,xaviqv/ticketit,changefox/osticketit,panichelpdesk/panichd,thekordy/ticketit,thekordy/ticketit,kikoseijo/ticketit,cassianogf/ticket-system,xaviqv/ticketit