Fixes the sql creation script.