exec sp_rename 'sb_reminder.trigger_durationProp', trigger_prop, 'COLUMN';

ALTER TABLE sb_reminder
    ADD process_name VARCHAR(200);

UPDATE sb_reminder
SET process_name = 'CalendarEventUserNotification'
WHERE sb_reminder.trigger_prop = 'NEXT_START_DATE_TIME';

ALTER TABLE sb_reminder
    ALTER COLUMN process_name VARCHAR(200) NOT NULL;
sp_rename 'sb_reminder.trigger_durationProp', trigger_prop, 'COLUMN';

ALTER TABLE sb_reminder
    ADD process_name VARCHAR(200);

UPDATE sb_reminder
SET process_name = 'CalendarEventUserNotification'
WHERE sb_reminder.trigger_prop = 'NEXT_START_DATE_TIME';

ALTER TABLE sb_reminder
    ALTER COLUMN process_name VARCHAR(200) NOT NULL;
Fix the migration script of the reminder module when upgrading to version 003
Fix the migration script of the reminder module when upgrading to version 003
