I'm making a basic chat app using supabase.
I've figured out how to make it so users can only create/edit their profile and send messages from their profile using RLS, by checking if their id matches with the auth.id.
The problem I'm facing is, that I don't want users to be able to insert messages with wrong creation dates. If no date is specified the default value is correct. But currently there is no check for the creation date. Can I specify, that the creation date field has to be sent empty? Is there maybe a better solution?