S
S
Stanislav Pochepko2015-12-09 01:11:31
Laravel
Stanislav Pochepko, 2015-12-09 01:11:31

Are there standard model versioning tools in laravel?

Good day. The question is this. Is there a standard way to store model versions? If the user has changed information about himself, then it is necessary to save both the current and previous data. So that they can then be selected for a specific date (as is done in 1s "Slice of the last"). I just don't want to fence my garden. Suddenly there is something like that.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
JhaoDa, 2015-12-09
@DJZT

There are no standard tools. There are third party packages:
https://github.com/VentureCraft/revisionable
https://github.com/jarektkaczyk/revisionable

S
Sergey, 2015-12-09
Protko @Fesor

As JhaoDa already said , laravel does not provide anything like this out of the box. But there is a common approach to organizing versioning. It's called EventSourcing.
https://nicolaswidart.com/blog/get-up-and-running-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question