Move the db sync from db.sls to server.sls