Open-Earth-Foundation / CityCatalyst

Open Source carbon accounting for cities
GNU Affero General Public License v3.0
20 stars 5 forks source link

remove transaction #665

Closed thehighestprimenumber closed 1 month ago

thehighestprimenumber commented 1 month ago

So that if one thing fails, the rest doesn't

lemilonkh commented 1 month ago

I'm not sure if that is the desired behavior? I think if one of those doesn't succeed we want the migration to fail. Same as most of our other migrations that have multiple queries, so use a transaction to make sure either all or none of them succeed.