TheCitizenCrew / RentsPrices

RentsPrices
GNU General Public License v3.0
2 stars 0 forks source link

Add data revisions management #5

Closed Cyrille37 closed 9 years ago

Cyrille37 commented 9 years ago

See one of thoses service providers, to store deleted or changed data version:

Cyrille37 commented 9 years ago

Pour Lumen (Laravel 5) il faut la version "dev-master" de venturecraft/revisionable composer : require : "venturecraft/revisionable": "dev-master"

Cyrille37 commented 9 years ago

Pour créer la table des revisions: ./artisan migrate --path=vendor/venturecraft/revisionable/src/migrations/

Cyrille37 commented 9 years ago

Les revisions semblent très bien fonctionner. Maintenant il faut tester le soft delete.

  1. créer une migration pour ajouter le champs deleted_at
Cyrille37 commented 9 years ago

ajout du trait SoftDeletes aux tables rents et rent_prices (migration)