CREATE TABLE [dbo].[Warning] (
    [ID]          INT            IDENTITY (1, 1) NOT NULL,
    [Type]        INT NOT NULL,
    [Time]        DATETIME       NOT NULL,
    [ClearTime]   DATETIME       NULL
);