Since it's only a few lines of SQL, I'm actually not as worried about this being in a migration... I am worried a bit about locking and concurrency though...