if not exists (select * from sys.tables where object_id = object_id(N'dbo.DataSourceSettingHistory'))
    create table dbo.DataSourceSettingHistory
    (
        ID int not null IDENTITY(1, 1) constraint PK_DataSourceSettingHistory primary key 
        ,ModifiedDate datetime not null
        ,ModifiedUserName nvarchar(256) null
        ,ModifiedLoggedUserName nvarchar(256) null
        ,Data nvarchar(max) not null
    )