ALTER TABLE Attachments MODIFY id BIGINT NOT NULL AUTO_INCREMENT, MODIFY TransactionId BIGINT NOT NULL, MODIFY Parent BIGINT NOT NULL DEFAULT 0;
ALTER TABLE Transactions MODIFY id BIGINT NOT NULL AUTO_INCREMENT;
ALTER TABLE ObjectCustomFieldValues MODIFY ObjectId BIGINT NOT NULL;
