IF COL_LENGTH('[dbo].[cliente]', 'inativo') IS NULL
BEGIN
  ALTER TABLE [dbo].[cliente] ADD inativo CHAR(1) NULL;
END

IF COL_LENGTH('[dbo].[cliente]', 'cri_data') IS NULL
BEGIN
  ALTER TABLE [dbo].[cliente] ADD cri_data DATETIME2 NULL;
END

IF COL_LENGTH('[dbo].[cliente]', 'usuariocriacao') IS NULL
BEGIN
  ALTER TABLE [dbo].[cliente] ADD usuariocriacao BIGINT NULL;
END

IF COL_LENGTH('[dbo].[cliente]', 'atu_data') IS NULL
BEGIN
  ALTER TABLE [dbo].[cliente] ADD atu_data DATETIME2 NULL;
END

IF COL_LENGTH('[dbo].[cliente]', 'usuarioalteracao') IS NULL
BEGIN
  ALTER TABLE [dbo].[cliente] ADD usuarioalteracao BIGINT NULL;
END