a7b2ff1301
Using pragma inside executescript() won't work and foreign_keys were kept enabled, resulting in extrainfo table being wiped. At the same time, dropping all the indexes before starting dramatically improves the execution speed.