alter table camera_status_alarm
	add auto_restore bool default false;

comment on column camera_status_alarm.auto_restore is '是否自动恢复的';

alter table camera_status_alarm alter column confirm_time type timestamp(6) using confirm_time::timestamp(6);

alter table camera_status_alarm alter column create_time type timestamp(6) using create_time::timestamp(6);

alter table camera_status_alarm alter column update_time type timestamp(6) using update_time::timestamp(6);
