IF NOT EXISTS (SELECT * FROM sysobjects WHERE name = 'ScalePLU')
BEGIN

    CREATE TABLE [dbo].[ScalePLU]
    (
        [Id] [INT] IDENTITY(1, 1) NOT NULL,
        [BoothId] [INT] NULL,
        [PLU] [TINYINT] NULL,
        [Barcode] [VARCHAR](40) NOT NULL,
        [IsDecimalValue] [BIT] NULL
            DEFAULT (0),
        CONSTRAINT [PK_ScalePLU]
            PRIMARY KEY CLUSTERED ([Id] ASC)
    ) ON [PRIMARY];
END;