Boolean state for timestamp column
I have a timestamp column that works exactly like
deleted_at
does for soft deletes. Is this the best way to display such a column as a boolean state, or is there a cleaner way? i.e. I want a verified element (non null) to show a check mark β
and a red cross for unverified (null), just like the default boolean() columns.2 Replies
Solution
awesome, thanks π