IF NOT EXISTS (SELECT * FROM sysobjects WHERE name = 'DefineBooth')
BEGIN
    CREATE TABLE [dbo].[DefineBooth]
    (
        [Id] [INT] IDENTITY(1, 1) NOT NULL,
        [Name] [NVARCHAR](MAX) NULL,
        [WarehouseCode] [VARCHAR](3) NULL,
        [ScaleBrand] [TINYINT] NULL
            DEFAULT (0),
        CONSTRAINT [PK_DefineBooth]
            PRIMARY KEY CLUSTERED ([Id] ASC) ON [PRIMARY]
    ) ON [PRIMARY];
END;