alter table [dbo].[Solution_LargerHazard] add TrainPersonNum int null
alter table [dbo].[Solution_LargerHazard] add IsSuperLargerHazard bit null
alter table [dbo].[Hazard_HazardSelectedItem] add IsStart bit null
alter table [dbo].[Comprehensive_InspectionPerson] add IsTrain bit null
alter table [dbo].[Comprehensive_InspectionMachine] add IsCheckOK bit null
alter table [dbo].[Comprehensive_DesignDetails] add JoinPersonNum int null
alter table [dbo].[Hazard_HazardSelectedItem] add ProjectId nvarchar(50) null
GO



CREATE TABLE [dbo].[Base_RiskLevel](
	[RiskLevelId] [nvarchar](50) NOT NULL,
	[RiskLevel] [int] NULL,
	[RiskLevelName] [nvarchar](50) NULL,
	[MinValue] [int] NULL,
	[MaxValue] [int] NULL,
	[ControlMeasures] [nvarchar](500) NULL,
	[Days] [int] NULL,
	[Remark] [nvarchar](100) NULL,
 CONSTRAINT [PK_Base_RiskLevel] PRIMARY KEY CLUSTERED 
(
	[RiskLevelId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


