You could create a view with it limited. You could use rpc and postgres function. You could just trim it right after the supabase call before storing it.
Edit I guess you could also have a calculated column in your table that is 45 chars but that would add a bit to your table size.