         CONSTRAINT PK_Project PRIMARY KEY CLUSTERED
     , ProjectName    nvarchar(64)    NOT NULL
         CONSTRAINT UK_Project_ProjectName UNIQUE
+    , SourceUrlBase    nvarchar(256)    NOT NULL
 )
 GO
 CREATE TABLE Build

        AND SourceRevision = @SourceRevision AND SourceUrl = @SourceUrl
    IF @buildId IS NULL
    BEGIN
        INSERT INTO Build ...
        SET @buildId = @@IDENTITY
    END
    
    INSERT INTO BuildStep ...
END
CREATE PROCEDURE stp_Build_Add
(
    @ProjectName nvarchar(64)
    , @SourceUrlBase nvarchar(256)
    , @SourceUrl nvarchar(256)
    , @SourceRevision int
    , @IsSuccessful bit
