Added task creating and foreigh keys to migration files