Fix migrations: only the first line in the migration script is executed

The ``execSQL()`` documentation states that

    Multiple statements separated by semicolons are not supported

so when the migrations scripts are used, only the first line is executed.