PRINT N'Creating [dbo].[ErrorText]...';


GO
CREATE TABLE [dbo].[ErrorText]
(
	[Id] UNIQUEIDENTIFIER CONSTRAINT [PK_Error_Id] DEFAULT (newid()) ROWGUIDCOL NOT NULL , 
    [ErrorCode] INT NOT NULL, 
    [ErrorText] NVARCHAR(255) NOT NULL, 
    CONSTRAINT [PK_ErrorText] PRIMARY KEY NONCLUSTERED ([Id])
);


GO


PRINT N'Creating [dbo].[ViolationText]...';


GO
CREATE TABLE [dbo].[ViolationText]
(
	[Id] UNIQUEIDENTIFIER CONSTRAINT [PK_Violation_Id] DEFAULT (newid()) ROWGUIDCOL NOT NULL  , 
    [ViolationCode] INT NOT NULL, 
    [ViolationText] NVARCHAR(255) NOT NULL, 
    CONSTRAINT [PK_ViolationText] PRIMARY KEY NONCLUSTERED ([Id])
);


GO
