bug-42 a script to create unioned db.