Merges table structures from one database to another.