﻿CREATE TABLE [dbo].[mfr__users] (
    [Id]                      BIGINT         NOT NULL,
    [Version]                 INT            NOT NULL,
    [UserName]                NVARCHAR (255) NULL,
    [IsSystem]                BIT            NOT NULL,
    [CreationDate]            DATETIME       NOT NULL,
    [IsApproved]              BIT            NOT NULL,
    [ContactId]               BIGINT         NOT NULL,
    [PreferedLanguage]        NVARCHAR (255) NULL,
    [EmailChannelEnabled]     BIT            NOT NULL,
    [HasFullScreenPreference] BIT            NOT NULL,
    [TimeZone]                INT            NOT NULL,
    [PreferedCulture]         NVARCHAR (255) NULL,
    [IsActive]                BIT            NOT NULL,
    [IsMobile]                BIT            NOT NULL,
    [LastLoginDate]           DATETIME       NULL,
    [UserGuideProgress]       NVARCHAR (255) NULL,
    [DashboardSettings]       NVARCHAR (MAX) NULL,
    CONSTRAINT [PK_mfr__user] PRIMARY KEY CLUSTERED ([Id] ASC)
);

