The connection is currently being defined in every single model. Change to have the connection in main.