Our empty raised garden beds appear to be a favorite restroom spot for cats in our neighborhood (and there are many). Planting seeds or new plant starts is a crapshoot... literally! We came up with an easy, inexpensive solution.
plant a skunk bulb
not only does it keep the cat/dogs out of the flower bed but blooms a nice flower
and keeps all the rodents out as well
you need one per flat bed and they last forever
I lived in a bush area at one time and all critters left the garden alone including my own cat at the time