Permission denied on DB after schema upgrade


I just updated to temporao 1.22.3 from 1.20.3. I used the following to upgrade the DB schema

temporal-sql-tool --ep  --pl postgres12 --db temporal update-schema -d ./schema/postgresql/v96/temporal/versioned

Now when I enter temporal UI to view a workflow, I see a 500 with the message “pq: permission denied for table task_queue_user_data”

Would appreciate advice on how to remedy this issue quickly.