-- ABS-152522 / ABS-158211

COMMENT ON COLUMN DIALOGS.DIALOGTYPE
  IS '0 = Simple dialog (Default)
1 = Dialog with reports
2 = Report with Selection dialog
3 = Web dialog
4 = Web report
5 = Virtual dialog
10 = V10 dialog';

ALTER TABLE DIALOGS
  DROP CONSTRAINT DIALOGTYPE_VALID;
ALTER TABLE DIALOGS
  ADD CONSTRAINT DIALOGTYPE_VALID
  CHECK (DIALOGTYPE IN (0, 1, 2, 3, 4, 5, 10));
