gimenete / dbdiff

Compares two postgresql or mysql databases and prints SQL commands to modify the first one in order to match the second one
MIT License
131 stars 36 forks source link

fix indexes in dot tables #6

Closed yocontra closed 7 years ago

yocontra commented 8 years ago

For example, the PostGIS extension w/ TIGER data. Index indrelid is tiger.addrfeat, but thetable is addrfeat w/ the schema tiger. This fixes that bug by checking the relevant part of the indrelid against table name instead of the entire thing.