if not exists (select * from sys.syscolumns where name = 'ResetTwoFactor' and id = object_id(N'dbo.UserAccount'))
    alter table dbo.UserAccount add ResetTwoFactor bit not null constraint DF_UserAccount_ResetTwoFactor default (0);