diff --git a/pkg/sql/sqlbase/system.go b/pkg/sql/sqlbase/system.go index dad69b7edacc..f08d5af86b92 100644 --- a/pkg/sql/sqlbase/system.go +++ b/pkg/sql/sqlbase/system.go @@ -128,7 +128,7 @@ CREATE TABLE system.jobs ( // Design outlined in /docs/RFCS/web_session_login.rfc WebSessionsTableSchema = ` CREATE TABLE system.web_sessions ( - id SERIAL PRIMARY KEY, + id INT DEFAULT unique_rowid() PRIMARY KEY, "hashedSecret" BYTES NOT NULL, username STRING NOT NULL, "createdAt" TIMESTAMP NOT NULL DEFAULT now(),