Skip to content

Commit 200082f

Browse files
committed
Added note that users need to verify the SQL before running it
1 parent 5c98c73 commit 200082f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# pgdiff - PostgreSQL schema diff
22

3+
Please note that this program never modifies any databases directly, and you are solely responsible for verifying the generated SQL *before* running it against your database.
4+
35
Written in GoLang, this utility compares the schema between two PostgreSQL databases and generates alter statements to be *manually* run against the second database. Not everything in the schema is compared, but the things considered important (at the moment) are: tables, columns (and their default values), foreign keys... and soon constraints and user roles.
46

57
It is written to be easy to add and improve the accuracy of the diff. Please let me know if you think this goal has not been met. I'm very interested in suggestions and contributions to improve this program. I'm not a GoLang expert yet, but each program I write gets me closer to that goal.

0 commit comments

Comments
 (0)