-- ------------------------------------------
-- Monitor crit_tcodes add auto incremention
-- ------------------------------------------
ALTER TABLE sod_crit_tcode_monitor
DROP COLUMN id,
DROP PRIMARY KEY,
ADD PRIMARY KEY (user_id, tcode_id, date);