sql: use v1 instead of v4

Leftover from the big uuid patch, use v1 for consistency everywhere.

Change-Id: I9a5bc569eb5eeee05b2fecb8e93bb90b597eee28