Fix hardcoded dbname in model.sql.