do
$$BEGIN
alter table t_device_screen_lock_log drop constraint t_device_screen_lock_log_device_id;
EXCEPTION
when undefined_object
then null;
END$$;
do
$$BEGIN
alter table t_device_screen_lock_log drop constraint t_device_screen_lock_log_device_id;
EXCEPTION
when undefined_object
then null;
END$$;