PGBI / cakephp3-soft-delete

83 stars 60 forks source link

Allow custom data type for $softDeleteField #23

Open ja573 opened 7 years ago

ja573 commented 7 years ago

I find really useful been able to declare a custom $softDeleteField since sometimes we are tight to whatever convention the original designed decided to use. However, for the same reason, some people do not use a timestamp for their deleted fields; it would be really useful to been able to define both the deleted field (e.g. isdeleted), but also the data type (e.g. boolean).