def mv_user(from, to)
- # Delete the given username. DAViCal uses foreign keys properly
+ # Switch the given usernames. DAViCal uses foreign keys properly
# and only supports postgres, so we let the ON UPDATE CASCADE
# trigger handle most of the work.
sql_queries = ['UPDATE usr SET username = $1 WHERE username = $2']