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

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

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

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