maandag 9 augustus 2021

Any good way to track DB changes on a postgre DB?

Via PostgreSQL by /u/ddmmatias

Hey everyone. I have to create a full set of laravel seeders for building environments. I found that I can use a project to generate such seeders from an existing DB, but they are generated table by table.

The thing is that I have to create the data from the app, and the entities that are generated create data in many tables. I'd like to track all changes that are made in the DB after creating a new account, new user, new post, etc.

Is that possible? Maybe like take a snapshop of the DB, do your changes, do a diff of your current DB with your snapshop?

submitted by /u/ddmmatias
[link] [comments]

New article matched for in your Blogger! rule

Testing Wide Production 2020