Can SV开发者_开发百科N replicate/copy/synchronize a database like it does code?
This is not the right tool for the job. Version control systems are useful for code. You can define this as content that developers make deliberate, related, commits to in response to particular requirements (e.g. bug reports or feature requests).
Database content is different, because the application changes it directly as users interact with it.
It is appropriate to store the schema (e.g. CREATE TABLE/VIEW statements) in SVN. However, the actual database should rather be backed up (e.g. with mysqldump) and replicated (e.g. with the built-in replication) as needed.
No.
What it can do is manage create SQL scripts or ER models which are based on files.
no, it cant, unless you are speaking about dumps/backups...
精彩评论