Perform migration and add associations