Fix SQL script for dev profile