ALTER TABLE invoiceout
ADD COLUMN UpdatedAt datetime DEFAULT NULL,
ADD COLUMN LockedAt datetime DEFAULT NULL,
ADD COLUMN LockedBy int(11) DEFAULT NULL;
UPDATE invoiceout
SET UpdatedByPersonID = CreatedByPersonID, UpdatedAt = TS;

Add migration for missing fields in invoiceout for locked_at and locked_by
Add migration for missing fields in invoiceout for locked_at and locked_by
