aidmt-ms/sql/owner_issuer_add_fields.sql

7 lines
612 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 签发人表增加:签发角色、联系电话、权限有效期(与新增签发人界面一致)
ALTER TABLE `owner_issuer`
ADD COLUMN `contact_phone` varchar(20) DEFAULT NULL COMMENT '联系电话' AFTER `remark`,
ADD COLUMN `valid_until` date DEFAULT NULL COMMENT '权限有效期NULL表示永久有效' AFTER `contact_phone`,
ADD COLUMN `work_ticket_issuer` char(1) DEFAULT '1' COMMENT '是否工作票签发人0否 1是' AFTER `valid_until`,
ADD COLUMN `hazardous_work_ticket_issuer` char(1) DEFAULT '0' COMMENT '是否危险作业票签发人0否 1是' AFTER `work_ticket_issuer`;