A command line tool to output your database schema and data in diff-able form.
A object-relational mapper.