CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; ALTER TABLE projects ADD repository_uuid uuid NOT NULL DEFAULT uuid_generate_v4();