Rather than editing the main SQL file, there's a plugin folder in the install SQL directory called plugins. Custom SQL can be put in there.