Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: SQL Diff

by perrin (Chancellor)
on Jun 01, 2009 at 17:09 UTC ( #767325=note: print w/replies, xml ) Need Help??

in reply to SQL Diff

It is 100% unpossible to automatically diff schemas. How can a diff know that you changed the name of a column, vs removing a column and adding a new one? Or that you split out some columns into a separate table and the data has to be moved? You can get the easy stuff with SQL::Translator::Diff, but you will always have to manually check it and add things to it.

On the other hand, if your goal is to get a copy of the real data for testing, you might be better off using replication or just restoring a dump of the production data on your dev server.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://767325]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-12-07 12:07 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (160 votes). Check out past polls.