alter table dbo.QW_TICKETEVENT
drop constraint fk_qw_ticketevent_ticket

-- all new update scripts must include a line like this:
UPDATE QX_SYS_PROP SET PROP_VAL = '021' WHERE (PROP_ID = 'DB_APP_VERSION');