Base migration finished, based on work from legalsylvain