מעבר מ-Vanilla (מתארח) ל-Discourse

I checked all the links I could find about this topic, but could not see any example using the SQL file or script. Where do I place this script and how do I call it?