GO
ALTER TABLE [dbo].[tbl_Configuracoes]
    ADD [IdnComunicaPortaSerial] BIT NULL,
        [IdnHabilitarGravacaoLog] BIT NULL;

GO
UPDATE [dbo].[tbl_Configuracoes]
    SET [IdnComunicaPortaSerial] = 0,
        [IdnHabilitarGravacaoLog] = 0;

GO
INSERT INTO [dbo].[tbl_Versao] (Versao, VersaoMinimaTryerp, DataAtualizacao) VALUES (6, 490, getdate());