7645792d5a
The database schema defines owner_id as UUID, but the Calendar entity stored it as String. This caused a type mismatch error when creating calendars via CalDAV clients like DAVx: column "owner_id" is of type uuid but expression is of type text Changes: - Change Calendar.owner_id from String to Uuid - Update new() and with_id() to accept Uuid - Update owner_id() getter to return &Uuid - Update belongs_to() to accept &Uuid - Update calendar_storage_adapter to pass Uuid directly - Update tests to use Uuid::new_v4() Fixes #200