simplify
prevent N queries on `Deploy` creation