ALTER TABLE GLTypeMaster ADD COLUMN allow_manual_entry tinyint(1) NOT NULL DEFAULT '0';
UPDATE GLTypeMaster SET allow_manual_entry = 1 WHERE id IN (1,5,27,28,29,34);

ALTER TABLE OfficePayment DROP FOREIGN KEY OfficePayment_ibfk_2;
ALTER TABLE OfficePayment DROP COLUMN gl_category_id;

