ALTER TABLE `printers` ADD `holduntilready` INT NOT NULL DEFAULT '0' AFTER `realprinterid`;

INSERT INTO `tabledefs` (`defid`, `tablename`, `settingname`, `actualfield`, `datatype`, `fielddescription`, `isid`, `showintable`, `editable`, `ordinality`, `sqlquery`, `relationshiptable`, `displaysql`, `defaultvalue`) VALUES (NULL, 'printers', 'Hold Ticket Print Until Order Ready', 'holduntilready', 'dropdown', 'This will prevent receipts from printing until the order is complete and cleared from all kitchen displays.', '0', '1', '1', '50', 'select valueid as id, valuename as val from booleanddl order by valueid asc', '', 'select valueid as id, valuename as val from booleanddl where valueid=\'%id%\'', '');