Files
certd/packages/ui/certd-server/db/migration-mysql/v10051__audit_log_scope.sql
T
2026-07-12 22:28:51 +08:00

5 lines
229 B
SQL

ALTER TABLE `cd_audit_log` ADD COLUMN `scope` varchar(32) NOT NULL DEFAULT 'user';
CREATE INDEX `index_audit_log_scope` ON `cd_audit_log` (`scope`);
ALTER TABLE `cd_audit_log` ADD COLUMN `success` tinyint(1) NOT NULL DEFAULT 1;