lookinlab/adonis-lucid-soft-deletes

Rename deleted_at to deletedAt

Closed this issue · 3 comments

Hi, in my project, all models uses camel case naming strategy by default, and i need to rename deleted_at to deletedAt column, how can i rename this column in my model?

My migration file:
image

My model file (rename column via columnName property in decorator not helped and worked):
image

Error:
image

Thanks!

Hello @DZ8540
Now you can’t set custom column name, but I’ll think about it in the coming days.

Hello @DZ8540 Now you can’t set custom column name, but I’ll think about it in the coming days.

This is good, thanks :)

Added in v1.4.0