What I mean by migration script is the database migration scripts ( db/migrate ) inheriting from ActiveRecord::Migration which are used to adapt the database to the Discourse changes.
For instance, we have the SQL commands to transfer a Multilingual-plugin locale into a native Discourse locale.
My question would be mostly about the database migrate scripts, in order to automate the SQL commands when migrating the database to a newer version